Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Disable impersonation of a group, or for a realm within KeyCloak?

Tags:

keycloak

KeyCloak question for everyone.

Is it possible to disable impersonation of a group (for example, an admin group), or for a realm (the admin management console)?

Thx

like image 706
MateodelNorte Avatar asked Sep 08 '25 10:09

MateodelNorte


1 Answers

You can assign impersonation role for a user from Client Roles of the realm.

Each realm has a built-in client called realm-management. This client defines client-level roles that specify permissions that can be granted to manage the realm.

You can find more on available roles from Keycloak docs

Once you remove impersonation client-level role for your realm , it is not available for all users of the realm.

like image 120
ravthiru Avatar answered Sep 13 '25 19:09

ravthiru