spring-bootspring-security-oauth2nimbus-jose-jwtspring-boot-starter-oauth2-client

Spring Boot 2.3.4: Bug with JwtValidators.createDefaultWithIssuer(String)?


I found an odd behavior with JWT parsing and JwtValidators.

Scenario:

This worked well with Spring Boot version <= 2.2.10.

Debugging:

My current workaround is not calling JwtValidators.createDefaultWithIssuer() but just using the validators new JwtTimestampValidator() and an own implementation of OAuth2TokenValidator<Jwt> (with wrapping JwtClaimValidator<URL>).

Anyone else having trouble with this?

--Christian


Solution

  • It's a bug. Pull Request is created.