-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Fixes #4483: Add support for Authorization: Bearer token Header #4502
Conversation
* appended Authorization header token parsing after X-Consul-Token * added test cases * updated website documentation to mention Authorization header
* improve tests * improve Bearer parsing
Added Authorization Bearer token support as per RFC6750
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @mbag. By description I was talking about the block of text where you said that the PR was related to the issue. Turns out I can just edit the description myself so I did. |
👍 OK. Now I know for the future PRs :) |
Fixes: #4483
We tried to make Authorization Bearer header compliant with RFC6750 and other OAuth RFCs where appropriate. RFCs are referenced in comments.
Tests and documentation were added/updated as well.