Uploaded image for project: 'WildFly Elytron'
  1. WildFly Elytron
  2. ELY-2567

Automatically retrieve roles from an OIDC access token's "roles" claim if present

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major Major
    • 2.2.1.Final, 1.15.18.Final
    • None
    • None
    • None

      When retrieving roles from an OIDC access token, we currently only support retrieving roles from the "realm_access" and "resource_access" claims in the payload. Access tokens provided by the RH SSO OpenID provider contain these claims. However, access tokens provided by the Azure AD OpenID provider contain the roles in a "roles" claim instead.

      We could automatically retrieve the roles from an access token when it contains a "roles" claim since this is a standard claim name that also seems to be used by at least one other OpenID provider. No configuration changes would be needed to do this.

            fjuma1@redhat.com Farah Juma
            fjuma1@redhat.com Farah Juma
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: