Repository navigation
Replies: 1 comment
|
The env var syntax The reliable approach in modern Keycloak is to revoke the impersonation role per realm through the Via Admin Console:
To prevent all admins from impersonating, remove
Via Admin CLI: kcadm.sh remove-roles -r <your-realm> --rname realm-admin --cclientid realm-management --rolename impersonationThis disables impersonation for all realm admins without requiring a server restart or a custom image. If you manage multiple realms, you will need to repeat this per realm. The |
Uh oh!
There was an error while loading. Please reload this page.
I have the following setup in docker compose:
I have tried adding:
command: start --features-disabled=impersonationKC_FEATURE_IMPERSONATION: disabledKC_FEATURES_DISABLED: impersonationNone of these disable impersonation. Do I specifically need a custom image to disable impersonation, or is my config wrong?
All reactions