Skip to content

Expose ID Token JwtDecoderFactory #6379

@jgrandja

Description

@jgrandja

DefaultJwtDecoderFactory in OidcAuthorizationCodeAuthenticationProvider and OidcAuthorizationCodeReactiveAuthenticationManager is responsible for providing the JwtDecoder used for ID Token verification. Both are declared as private static.

The user may need to customize the JwtDecoder in certain scenarios, for example, configuring a clock skew (#5839). Given this, we should extract both DefaultJwtDecoderFactory to allow for reuse and customization/configuration.

Metadata

Metadata

Assignees

Labels

in: oauth2An issue in OAuth2 modules (oauth2-core, oauth2-client, oauth2-resource-server, oauth2-jose)type: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions