How to add a permanent admin?
-
How to add a permanent admin?
Creating a user via the UI doesn't have the option to assigning them the role of 'admin'.
And as per https://github.com/keycloak/keycloak/discussions/33803#discussioncomment-10921141, the new user should be added to the admin role via the CLI, but, when i try that, i get this error:
Failed to create config file: /root/.keycloak/kcadm.config
-
@joseph said in How to add a permanent admin?:
you have to create a new User in the master realm with 'admin' role
Hi @joseph, this is pretty much the reason for my post; there's no option available to select the 'admin' role.
I've tried to add every role available, but the 'admin' role option is nowhere to be found in my instance.
Even though, the role does exist: