-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Decode Basic Auth Credentials #536
Comments
I experienced this as well, but I don't see urlencoding the credentials mentioned in rfc2617#section-2 (even the example given is just base64 encoded). The formulation in rfc6749#section-2.3.1 seems ambiguous on this point, so in my opinion hydra does the right thing following rfc2617. On the other hand it's an annoying detail that might have some pragmatic solution? |
It's been addressed in PR #537 but as you might notice the CI fails sometimes due to golang/oauth2#237 |
This is now resolved, please be aware that |
It looks like credentials, both client_id and client_secret, should be percent encoded before combining and base64 encoding them for basic authentication according to https://tools.ietf.org/html/rfc6749#section-2.3.1
I have a few clients that don't work with hydra because they do percent encode but hydra doesn't decode.
The text was updated successfully, but these errors were encountered: