Get effective realm roles for a user
One step with Keycloak. We can help you get access.
Look something up
Get effective realm roles for a user
with Keycloak
Use Keycloak: its Keycloak Admin REST Role Mapper API lets you get effective realm roles for a user in a single step (GET /admin/realms/{realm}/users/{user-id}/role-mappings/realm/composite). capabilities.work can help you get signed up and connected.
- Taking a user's composite roles into account, what roles does the user hold?
- Which roles does a user get through roles they are assigned to?
Say it to your AI assistant
- Get effective realm roles for user {user} in realm {realm}.
- Show inherited roles of user {user}, composing composite roles.
For your developer
GET /admin/realms/{realm}/users/{user-id}/role-mappings/realm/composite in Keycloak Admin REST Role Mapper API. Full spec on APIs.io.