0

In keycloak does the user inherit roles from the clients ?

If so, is this configurable ?

Thank you.

1 Answers1

0

Yes, user can assign client's role by UI of Keycloak or REST API. User can get inherit roles from multiple clients.

It is configurable with combination clients roles.

I will demo assign a roles by UI enter image description here

#1 Assigned four roles from three clients and default role.

enter image description here

enter image description here

enter image description here

#2 Get roles mapping for specific user by API

GET http://{keycloak-IP}/auth/admin/realms/{my-realm}/users/{user-uuid}/role-mappings

Using post man and master token.

enter image description here

Bench Vue
  • 5,257
  • 2
  • 10
  • 14