Skip to content

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