Spring Boot 2.4 dependency conflictSee original GitHub issue
This library uses
com.nimbusds:oauth2-oidc-sdk:7.4. Spring Boot version 2.4 manages that dependency to version
8.23.1. See https://docs.spring.io/spring-boot/docs/current/reference/html/appendix-dependency-versions.html#dependency-versions-coordinates:~:text=oauth2-oidc-sdk
This means that if you try and use this library in a Spring Boot 2.4 project you get an error at runtime, since Maven will choose the newer version.
Please upgrade this dependency.
- Created 3 years ago
- Comments:12 (5 by maintainers)
Top GitHub Comments
@davidkarlsen : Hey, I saw your comment on this PR https://github.com/AzureAD/microsoft-authentication-library-for-java/pull/322 about an issue with one of the Nimbus SDK’s JSON methods. That part of the dependency is unrelated to the one in that PR or this thread, so it may be an unrelated issue.
What version of the Nimbus SDK is your environment using? I haven’t been able to recreate your issue with either the version the library uses (7.4) or the one mentioned in this thread (8.23), and the Nimbus SDK doesn’t seem to have had any changes to that method for a while, so you may want to make a separate thread for the issue you’re having.
Hello @davidkarlsen : I made this PR https://github.com/AzureAD/microsoft-authentication-library-for-java/pull/322 to take care of this issue (pretty much just removed the use of the file causing issues as a quick fix), and this will be released by the end of the week.