Skip to content

Nimbus JOSE JWT downgrade is a breaking change in Spring Boot 2.4.3 #25557

Closed
@dkroehan

Description

@dkroehan

Hi!

When updating from Spring Boot 2.4.2 to Spring Boot 2.4.3 we discovered an undocumented breaking change on the managed version of Nimbus JOSE JWT library.

Spring Boot 2.4.3 contains the following change: #25070

This downgrades the library from 9.1.3 to 8.20.2

This is a breaking change as it throws the following NoSuchMethodError on our code base:

Caused by: java.lang.NoSuchMethodError: 'java.util.Map com.nimbusds.jwt.JWTClaimsSet.getJSONObjectClaim(java.lang.String)'

This dependency downgrade is not listed in the release notes: https://github.com/spring-projects/spring-boot/releases/tag/v2.4.3

I saw in the release notes of Spring Boot 2.5.2-M2 that it includes an update to Nimbus JOSE JWT 9.5
See: #25249

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions