[keycloak-user] Question regarding User Client Role mapper

Thomas contact at pushrbx.net
Wed May 2 05:05:07 EDT 2018


Hi all,



I have a question regarding the user client role mapper: How can I map the first role from the list of client roles to a field named "role" in the id token?

I've got that far that I create a mapper but it only returns a "[]" string. Obviously I've already mapped the user to some client roles before I tried to get the token.



Thanks,

Thomas






More information about the keycloak-user mailing list