spring-projects / spring-projects/spring-security

Dependency convergence failed: nimbus-jose-jwt

Open
#17,939 2 comments 5 reactions 1 assignee View on GitHub

@jgrandja is already working on this.

Since Sep 26, 2025.

in: oauth2 type: bug
Dominant language
Java
Stars
9.6k
Forks
6.3k
Avg merge
2d 11h
Merged PRs (30d)
52

Description

Describe the bug

Dependency convergence conflict for com.nimbusds:nimbus-jose-jwt using Spring Security version 3.5.6

To Reproduce

Include in a POM

<dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-security</artifactId> <scope>compile</scope> <version>3.5.6</version> </dependency>

and enable Maven enforcer's dependencyConvergence

should see error:
Dependency convergence error for com.nimbusds:nimbus-jose-jwt:jar:9.37.3. Paths to dependency are: +-com.etc.etc.etc:0.0.1-SNAPSHOT +-org.springframework.boot:spring-boot-starter-oauth2-client:jar:3.5.6:compile +-org.springframework.security:spring-security-oauth2-client:jar:6.5.5:compile +-com.nimbusds:oauth2-oidc-sdk:jar:9.43.6:compile +-com.nimbusds:nimbus-jose-jwt:jar:9.37.3:compile and +-ccom.etc.etc.etc:0.0.1-SNAPSHOT +-org.springframework.boot:spring-boot-starter-oauth2-client:jar:3.5.6:compile +-org.springframework.security:spring-security-oauth2-jose:jar:6.5.5:compile +-com.nimbusds:nimbus-jose-jwt:jar:9.37.4:compile

Expected behavior
Enforcer should not find issues

Has occurred before looks like
https://github.com/spring-projects/spring-security/issues/13843

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.