-
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
Dependency convergence on nimbus-jose-jwt #22947
Comments
Thanks for reporting the problem. Given the rapid release schedule of the OIDC SDK (they went from 7.0 to 7.5 between February and May and from 8.0 to 8.19 between April and July), it feels like we should make an exception to our usual policy and upgrade from 7.5 to 8.x in Spring Boot 2.4. This would improve things here, but still wouldn't entirely resolve the problem as there's no guarantee that the versions will converge. Some dependency management for I've opened #22951 to consider moving to 8.x in Boot 2.4. |
Thanks for your response! I'll give it a shot. Do you think I should give Also, do you have a hunch what the managed version for
Where 7.4 seems to be the last 7.x release. Alternatively, I can just set it to |
Closing in favor of PR #22996. Thanks @ThomasKasene! |
When I use
spring-boot-starter
2.3.3.RELEASE as my project's parent and includeorg.springframework.boot:spring-boot-starter-oauth2-client:2.3.3.RELEASE
as a dependency, mydependencyConvergence
rule goes bananas over the version ofcom.nimbusds:nimbus-jose-jwt
:I've been looking around for a bit, and noticed Spring Boot is behind on the
com.nimbusds:oauth2-oidc-sdk
så I bumped it up to 8.18 using theoauth2-oidc-sdk.version
-property, but still the same issue:Another attempt with
oauth2-oidc-sdk.version
= 8.19:My point here is really just to show that Spring Security tries to use the most updated version of that artifact, while
oauth2-oidc-sdk
does not (always), effectively making the two artifactsoauth2-oidc-sdk
andnimbus-jose-jwt
two separate things.So my question is - would it make sense to add
com.nimbusds:nimbus-jose-jwt
to Spring Boot's dependency management with its own version property?I could give it a shot if the team deems it a good idea.
The text was updated successfully, but these errors were encountered: