-
Notifications
You must be signed in to change notification settings - Fork 40.8k
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
Make it easier to add validators to the auto-configured DelegatingOAuth2TokenValidator #35783
Comments
Reading spring-projects/spring-security#13249, it sounds like @romangr would like to be able to add additional validators while keeping all of the default validators. Rather than introducing a customizer (there isn't really an instance of something to customize), I wonder if we could add any |
I see, @wilkinsona. Yes, that makes sense. |
I created a PR with the implementation similar to the one I use in my starter library, please let me know if it makes sense |
Closing in favor of #35874. |
Please see spring-projects/spring-security#13249 for background information.
It would be nice for those creating starters to be able to customize the
JwtDecoder
created by Spring Boot, namely its set of validators.Something like the following would be more convenient and less error-prone than replacing the
JwtDecoder
bean definition:The text was updated successfully, but these errors were encountered: