Uploaded image for project: 'UY'
  1. UY
  2. UY-975

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

    Details

    • Type: Bug
    • Status: Done
    • Priority: Medium
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: v3.1.3
    • Labels:
      None

      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)

        Attachments

          Activity

            People

            • Assignee:
              golbi Krzysztof Benedyczak
              Reporter:
              golbi Krzysztof Benedyczak
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: