Even after configuring Client scopes which have client roles and realm roles mappers mapped to them, ref image:

and even after toggling Add to Userinfo to ON

the user info doesn’t return realm roles as part of the response.
I did add a realm roles mapper to dedicated client scope as well and toggled Add to Userinfo to ON here too

but the userinfo still doesn;t return a full response containing roles. One such response after hitting user info endpoint:
{"sub":"ccd1ab6c-0c54-4f27-82a9-092376a66cf4","preferred_username":"access_user","given_name":"","family_name":"","email":"access_user@access.com"}
Version
19.0.1
Expected behavior
The user info should contain roles claims too.
Actual behavior
One such response after hitting user info endpoint:
{"sub":"ccd1ab6c-0c54-4f27-82a9-092376a66cf4","preferred_username":"access_user","given_name":"","family_name":"","email":"access_user@access.com"}
How to Reproduce?
Described in Describe the Bug section
Anything else?
Refs:



