We're updating the issue view to help you get more done. 

Some OAuth tokens created in 2.8 are not parsed in 3.x

Description

The change in storage format of PKCS information introduced in version 3.0 is causing legacy tokens not to be parsed.

 

Caused by: com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException: Unrecognized field "codeChallenge" (class pl.edu.icm.unity.oauth.as.OAuthToken), not marked as ignorable (20 known properties: "clientUsername", "audience", "clientType", "requestedScope", "tokenValidity", "subject", "effectiveScope", "maxExtendedValidity", "redirectUri", "openidInfo", "openidToken", "accessToken", "clientName", "userInfo", "responseType", "refreshToken", "authzCode", "clientId", "issuerUri", "pkcsInfo"])

...

at pl.edu.icm.unity.oauth.as.OAuthToken.getInstanceFromJson(OAuthToken.java:79)

Environment

None
Done

Assignee

Krzysztof

Reporter

Krzysztof

Labels

None

Fix versions

Priority

Medium
Configure