Re: [keycloak-user] How do I create a permanent admin account in Keycloak 26.0.0?

1,692 views
Skip to first unread message

Stan Silvert

unread,
Oct 16, 2024, 6:39:17 PM10/16/24
to Trevor Smigiel, Keycloak User
You need to create a new user and assign the admin role.  See https://github.com/keycloak/keycloak/discussions/33900

We plan to make this easier and more explicit in the future.

On Wed, Oct 16, 2024 at 2:02 AM Trevor Smigiel <tsmi...@gmail.com> wrote:

I installed Keycloak 26.0.0 on Ubuntu and was able to create a temporary admin account. When I log in a banner says:

You are logged in as a temporary admin user. To harden security, create a permanent admin account and delete the temporary one.

How do I create a permanent admin account? Do I follow the "Managing users" documentation? Do I create the permanent admin account in the master realm? How do I give this admin correct permissions/role?

I read the Managing users documentation. I added a user named admin in the master realm and set a password. I do not see how to give it an admin role or admin permissions. I tried the Assign Role button but the admin role is not listed.

Thanks!

--
You received this message because you are subscribed to the Google Groups "Keycloak User" group.
To unsubscribe from this group and stop receiving emails from it, send an email to keycloak-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/keycloak-user/c9973941-f4bc-4e80-9a82-5d4f5e3f0405n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages