Decoded JWT Token results in invalid content in newer versions

Issue #504 resolved
Former user created an issue

We use Spring Security for OAuth2 login using Keycloak. Until Spring Security 5.7.5 the JWT Token validation has worked perfectly.

As per this GitHub Issue, it looks like the Nimbus-JOSE-JWT changed its JSON parser library from json-smart to GSON in a patch/minor version of the library. This results in a different handling/parsing of JSON, namely content is now stored as a LinkedTreeMap instead of a JSONObject.

This change in the behavior should at least be documented.

Comments (1)

  1. Log in to comment