[keycloak-dev] Roles Claims

gambol gambol99 at gmail.com
Mon Feb 22 12:33:32 EST 2016


Hiya ...

I was wondering if it's possible as of 1.9.0 to change or map the roles of
a user into new claim .. The reason I ask is
https://github.com/kubernetes/kubernetes/pull/21001/files. I know the
current implementation uses something akin to the below in the access token.

"resource_access": {
    "client_id": {
      "roles": [
        "role-a",
        "role-b",
        "role-c"
      ]
    },
    "account": {
      "roles": [
        "view-profile",
        "manage-account"
      ]
    }
  },

Any chance via a mapper we could use an string array?

Rohith
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/keycloak-dev/attachments/20160222/7b5be076/attachment.html 


More information about the keycloak-dev mailing list