Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

basic auth requires a cleartext password #149

Open
sritchie opened this issue Jul 20, 2014 · 2 comments
Open

basic auth requires a cleartext password #149

sritchie opened this issue Jul 20, 2014 · 2 comments

Comments

@sritchie
Copy link

hey guys,

I was going through this tutorial for drawbridge:

https://devcenter.heroku.com/articles/debugging-clojure

And it looks like there's not way to have the "lein repl" task prompt for a password if it's missing from the URL string.

What would you guys think of a patch that would ask the user for a password if a username was supplied via the query string w/o an accompanying password? I should have some time to work on this, just wanted to check on the feelings here.

@trptcolin
Copy link
Owner

Sounds great to me. I wonder if there's a way to disambiguate the case you're talking about from one where the remote server doesn't require a pw, just a username (or is that not a thing?).

@sritchie
Copy link
Author

I think you have to send both if you're using the basic authentication scheme; I think if you want to identify users by some token, you use a different header, or just send a blank password or something.

Thanks, I'll see what I can do!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants