I have created a client role as special_agent
and have added two attributes as approve_leave
and raise_leave
.
I'm using the Javascript adapter and am able to login successfully on my website. I'm also able to receive the client role that I have assigned to the user. I, however, want to get the custom attributes specified in the client role. Below is the result of the keycloak.tokenParsed
Is there a way to retrieve client role attributes? I looked for the Mappers
in the Client settings, but couldn't figure out the details.