ch4mpy / spring-addons

Ease spring OAuth2 resource-servers configuration and testing
Apache License 2.0
530 stars 87 forks source link

Add a property to add an `audience` validator to resource servers JWT decoders #133

Closed ch4mpy closed 1 year ago

ch4mpy commented 1 year ago

Is your feature request related to a problem? Please describe. Right now, with spring-addons starters, I have to override the complete authentication manager to just add an audience validator to resource server JWT decoders, which is rather cumbersome.

Describe the solution you'd like I'd prefer to define an application property and have the starter autoconfigure an additional JWT validator for me. This would have two benefits: