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

Make authorization schemes case and whitespace insensitive #141

Closed
wants to merge 1 commit into from
Closed

Make authorization schemes case and whitespace insensitive #141

wants to merge 1 commit into from

Conversation

sbihel
Copy link
Contributor

@sbihel sbihel commented Jun 22, 2023

Partially address #112, missing are restrictions on the shape of the actual Bearer token

@sorah
Copy link

sorah commented Sep 27, 2023

I encountered an error due to the issue pointed out on this PR -- case sensitivity. auth-scheme is considered case-insensitive per RFC 9110 Section 11.1.

https://datatracker.ietf.org/doc/html/rfc9110#section-11.1

It uses a case-insensitive token to identify the authentication scheme

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

Successfully merging this pull request may close these issues.

2 participants