Search code examples
dockerldapkeycloak

How to make a user from LDAP an admin in KeyCloak V20.0.3?


We are running a working Keycloak in Docker setup with a Postgres database and we are able to synchronise our LDAP users.
Is it possible to make one of the LDAP users an admin? I can't find a role realm-management when I check the role mappings of a LDAP user.

We only want to use the default Keycloak admin as a backup.


Solution

  • The user have to be federated in the Master realm, because this realm acts as a parent / administrative realm.
    From there, it should have the admin role assigned.