Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
ch4mpy opened this issue Jun 23, 2023 · 0 comments · Fixed by #134
Closed

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

ch4mpy opened this issue Jun 23, 2023 · 0 comments · Fixed by #134
Assignees
Labels
enhancement New feature or request

Comments

@ch4mpy
Copy link
Owner

ch4mpy commented Jun 23, 2023

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:

  • 0 Java conf for this validator
  • I could adapt the audience to the environment (have different audiences in dev, staging and prod for instance
@ch4mpy ch4mpy added the enhancement New feature or request label Jun 23, 2023
@ch4mpy ch4mpy self-assigned this Jun 23, 2023
ch4mpy added a commit that referenced this issue Jun 23, 2023
gh-133 audience JWT validator from properties
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant