-
Notifications
You must be signed in to change notification settings - Fork 6.1k
Closed
Labels
in: oauth2An issue in OAuth2 modules (oauth2-core, oauth2-client, oauth2-resource-server, oauth2-jose)An issue in OAuth2 modules (oauth2-core, oauth2-client, oauth2-resource-server, oauth2-jose)type: enhancementA general enhancementA general enhancement
Milestone
Description
Summary
I'd like to be able to use the current ServerBearerTokenAuthenticationConverter but want to use a different header (HttpHeaders.PROXY_AUTHORIZATION
) for my Spring Cloud Gateway Instance.
Actual Behavior
Authentication must be taken from the HttpHeaders.AUTHORIZATION
.
Expected Behavior
I should be able to supply what Header I would like to extract my token from. If not specified default to HttpHeaders.AUTHORIZATION
.
Version
All versions, enhancement request.
Notes
These changes are straight forward and I can open a PR for these changes if deemed necessary.
Metadata
Metadata
Assignees
Labels
in: oauth2An issue in OAuth2 modules (oauth2-core, oauth2-client, oauth2-resource-server, oauth2-jose)An issue in OAuth2 modules (oauth2-core, oauth2-client, oauth2-resource-server, oauth2-jose)type: enhancementA general enhancementA general enhancement