I need to retrieve all client roles a user has in every client in kecloak
to update them in my app in order to check authorization for different
features.
I am able to get both realm and client roles using the following endpoint
*GET /admin/realms/{realmId}/users/{userId}/role-mappings*
But the response is omitting the client roles from the groups users belong
to.
Is there some way I can retrieve all client roles of a user, including
roles assigned by groups?
I realized *GET
/admin/realms/{realmId}/users/{userId}/role-mappings/clients/{cliendId}/composite*
includes
group client roles for one client but I need roles for all clients not for
individual one.
--
This email and any attachments to it may be confidential and are intended
solely for the use of the individual to whom it is addressed. Any views or
opinions expressed are solely those of the author and do not necessarily
represent those of Intent HQ Ltd.
If you are not the intended recipient of this email, you must neither take
any action based upon its contents, nor copy or show it to anyone.
Please contact the sender if you believe you have received this email in
error.
Show replies by date