spring-addons icon indicating copy to clipboard operation
spring-addons copied to clipboard

Support several JWT authentication converters (or converters with a `@Qualifier` which is not `jwtAuthenticationConverter`)

Open ch4mpy opened this issue 1 year ago • 0 comments

Is your feature request related to a problem? Please describe. When using several authentication converters (or just one with for instance @Qualifier("defaultJwtAuthenticationConverter")), spring-addons-starter-oidc and spring-addons-starter-oidc-test get lost

Describe the solution you'd like spring-addons-starter-oidc should document clearly which JWT authentication converter bean is injected in the auto-configured resourceServerSecurityFilterChain.

spring-addons-starter-oidc-test should give the possibility to choose which of the available JWT authentication converter to use with @WithJwt and @WithMockJwtAuth

Additional context https://github.com/ch4mpy/spring-addons/discussions/180

ch4mpy avatar Jan 26 '24 20:01 ch4mpy