Getting Realm Role Attributes with the client scope

Hi guys,
I am finding a way that i can retrieve the user assigned realm role’s predefined attributes when the user logged in.
currently role name is retrieving by adding ‘roles’ client scope to my client.but i cannot get that role attributes with the response.
Is there a way i can do this.?

Hi Saskitha,

did you try to add a “User Attribute Mapper” to your token and provide the key your looking for?
If this doesn’t work, you could always develop a custom extension.

Out of curiosity: What’s your business case for this inquiry?

Best regards,
Florian