Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-62000

Security requirements do not allow UserInfo mapping resulting in unsupported config of auth

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • 4.18
    • apiserver-auth
    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • Important
    • None
    • None
    • None
    • None
    • None
    • Customer Escalated
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Chase Morgan has a security requirement to disable UserInfo in their ADFS server.
      curls to the ADFS to obtain a token will fail with
      ~~~
      Error: non-200 response from UserInfo: 401, WWW-Authenticate=Bearer error="invalid_token", error_description="MSIS9921: Received invalid UserInfo request. Audience 'https://oauth-openshift.apps.wh-ngcptnt1.svr.us.jpmchase.net/oauth2callback/adfs' in the access token is not same as the identifier of the UserInfo relying party trust 'urn:microsoft:userinfo'."r
      ~~~

      That is with the below authconfig
      ~~~
      urls:
      authorize: https://mysso.example.com/auth/realms/master/protocol/openid-connect/auth
      token: https://mysso.example.com/auth/realms/master/protocol/openid-connect/token
      userInfo: https://mysso.example.com/auth/realms/master/protocol/openid-connect/userinfo
      ~~~

      Removing the userinfo from the authconfig will result in the curls working but results in an unsupported state.
      https://access.redhat.com/solutions/6960548
      https://access.redhat.com/articles/7064122

      They have implemented the fixes from Microsoft that was mentioned in https://issues.redhat.com/browse/RFE-3596 and https://issues.redhat.com/browse/RFE-2770

      How can JPMC implement the authconfig to not use userinfo with adfs and not end up unsupported?

              rh-ee-irinis Ilias Rinis
              rhn-support-dseals Daniel Seals
              None
              None
              Xingxing Xia Xingxing Xia
              None
              Votes:
              2 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated: