Uploaded image for project: 'OpenAM'
  1. OpenAM
  2. OPENAM-13595

After upgrate from 5.5.1 to 5.5.2, OIDC ES256 hashing algorithm returns unexpected values

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Not a defect
    • Affects Version/s: 5.5.2
    • Fix Version/s: None
    • Component/s: OpenID Connect
    • Labels:
    • Target Version/s:

      Description

      Bug description

      IDTokenAtHash test shows failure when comparing hash value of encrypted token with hash value of expected hash value computed by the test. Failure don't show in 5.5.2-RC1 test and show in 5.5.2-RC1 upgraded from 5.5.1. This happens only for ES256 signing algorithm, see IDToeknAtHash.png. Error is

      org.junit.ComparisonFailure: [ID token 'at_hash' does not match access token hash] expected:<"[lpUTLQ732co3jvlu4U01Cw]"> but was:<"[0vsNyYderTifdL69CY0GFg]">
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              lubomir.mlich Ľubomír Mlích
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: