-
Notifications
You must be signed in to change notification settings - Fork 9
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 not working with browsers #1
Comments
It seems the browser not sending the "Proxy-Authorization" header to proxy server, I'm also struggling with the issue, if you have a solution, kindly share with me, thank you! |
Sorry for such a slow fix on this. Thanks @kanwairen123 you were right and started me in the right direction - digging into the Chrome spec this proxy was using the wrong responses. For HTTP auth to work with browsers they need to not respond with a Read more about it here: I've put a fix together in this pull request: #3 Just going to do some sanity testing around this and I'll merge + cut a new version. The behaviour will be this:
|
Available with version |
Thanks, works as expected now! |
Thank you for providing this script.
Works perfectly without authentication.
But when starting with basic auth, and adding the correct credentials to my browser, I always get "Unauthorized"...
Tested starting with with --basic-auth 'user:pass' // --basic-auth user:pass // -basic-auth 'user:pass' // -basic-auth user:pass
The text was updated successfully, but these errors were encountered: