-
Notifications
You must be signed in to change notification settings - Fork 6.3k
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
JwtAuthenticationProvider by default produces a JwtAuthenticationToken by default upon successful authentication.
In order to assist with using jwt(), but also the more generic authentication result BearerTokenAuthentication, an adapter would be handy.
This can be realized in the form of a Converter<Jwt, AbstractAuthenticationToken> which can then be installed via
http
.oauth2ResourceServer()
.jwt()
.jwtAuthenticationConverter(new JwtBearerTokenAuthenticationConverter())Reactions are currently unavailable
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