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

Accept a case-insensitive "Bearer" keyword #6210

Merged
merged 1 commit into from
Dec 3, 2018
Merged

Accept a case-insensitive "Bearer" keyword #6210

merged 1 commit into from
Dec 3, 2018

Conversation

nlebas
Copy link
Contributor

@nlebas nlebas commented Dec 1, 2018

The Authorization header was matched for OAuth2
against the "Bearer" keyword in a case sensitive
fashion.
According to RFC 2617, it should be case insensitive
and some oauth clients (including some earlier
versions of spring-security) expect it so.

This is the reactive counterpart to commit
63f2b60 .

Fixes gh-6195

The Authorization header was matched for OAuth2
against the "Bearer" keyword in a case sensitive
fashion.
According to RFC 2617, it should be case insensitive
and some oauth clients (including some earlier
versions of spring-security) expect it so.

This is the reactive counterpart to commit
63f2b60 .

Fixes gh-6195
@jgrandja jgrandja self-assigned this Dec 3, 2018
@jgrandja jgrandja added type: enhancement A general enhancement Reactive in: oauth2 An issue in OAuth2 modules (oauth2-core, oauth2-client, oauth2-resource-server, oauth2-jose) labels Dec 3, 2018
@jgrandja jgrandja added this to the 5.2.0.M1 milestone Dec 3, 2018
@jgrandja jgrandja merged commit ba8a337 into spring-projects:master Dec 3, 2018
@jgrandja
Copy link
Contributor

jgrandja commented Dec 3, 2018

Thanks for the PR @nlebas. This is now in master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: oauth2 An issue in OAuth2 modules (oauth2-core, oauth2-client, oauth2-resource-server, oauth2-jose) type: enhancement A general enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bearer should be case-insensitive in ServerBearerTokenAuthenticationConverter
2 participants