[keycloak-user] Key cloak gatekeeper - match claims with realm access

Murugappan Sevugan Chetty itsmurugappan at gmail.com
Fri Feb 1 10:50:20 EST 2019


Hello,

Below is a part of my token

"realm_access": {
    "roles": [
      "role1",
      "role2",
      "role3"
      ]
   }

I need help with match claims config for gatekeeper. i tried like below and
got an error

    match-claims:
      realm_access: role1

unable to parse claim as string: realm_access","error":"unable to parse
claim as string array: realm_access"}


Thanks


More information about the keycloak-user mailing list