-
Notifications
You must be signed in to change notification settings - Fork 40.9k
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
Provide a mechanism for customising the auto-configured NimbusJwtDecoders #20750
Comments
…to allow configuration of a resttemplate for the autoconfigured NimbusJwtDecoder Fixes spring-projectsgh-20750
I'd initially thought adding a |
I've just noticed that there also isn't a |
Yeah, the public key version doesn't need a restOperations. The |
Customization is only needed in the case if the |
Thanks for the proposal @m-kay. It is true that for the customizations that Spring Security currently supports, it is only the |
If we can't get a customizer, perhaps it's possible to inject a There's an old issue in Spring Security that describes the problem I'm facing: spring-projects/spring-security#6909 |
any update on this? 👀 |
@m-kay As you can see above, @mbhave opened spring-projects/spring-security#8365. If you read through that issue, you’ll see that it was closed in favour of spring-projects/spring-security#8882. 8882 remains open and I don’t think we can do anything here without it so this issue remains blocked. |
spring-projects/spring-security#10309 has been scheduled for Spring Security 5.8 so we may be able to do something in this area in 3.0.x. I'm going to assign this issue to 3.0.x serve as a reminder to see what becomes possible. It'll remain blocked until the changes have been made in Security. |
Some changes were made in Spring Security a couple of days ago so we should be able to do something in Boot now. It may be too late now for 3.1 though. |
@mbhave there's a new |
Possible implementation for discussion and review. |
Inspired by #20747, it looks like it would be useful to provide a mechanism for customising the auto-configured
NimbusJwtDecoder
. The use case in #20747 is to provide aRestTemplate
to the decoder with custom proxy settings.The text was updated successfully, but these errors were encountered: