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

authorization header in /oauth2/token endpoint is case sensitive #575

Closed
ducky427 opened this issue Sep 6, 2017 · 2 comments
Closed

authorization header in /oauth2/token endpoint is case sensitive #575

ducky427 opened this issue Sep 6, 2017 · 2 comments

Comments

@ducky427
Copy link

ducky427 commented Sep 6, 2017

As noted in RFC2616, HTTP headers are supposed to be case-insensitive.

I've noticed that when getting a token from the /oauth2/token endpoint, the authorization header needs to be capitalised and not lower case. This is not standard HTTP behaviour.

@aeneasr
Copy link
Member

aeneasr commented Sep 6, 2017

Hm, that is quite unlikely because we're not using anything custom-made, only regular Go-libraries which are RFC conform. Could you show a reproducible test case?

@ducky427
Copy link
Author

ducky427 commented Sep 6, 2017

My bad. I can't seem to produce this.

Thanks!

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