log in impossible with admin user console keycloak

129 views
Skip to first unread message

Christophe

unread,
Apr 15, 2024, 1:41:39 AM4/15/24
to Keycloak User
Hi, 
I am unable to log in to the keycloak console to administer the project with my administrator id: admin/admin. Maybe I changed the password without remembering, but I don't think so.
I try to change the password on the command line but I can't, I write:

kcadm set-password --realm sdia3 --username admin --new-password admin --server http://localhost:8080/auth

response

thank you for your help

Alexander Schwartz

unread,
Apr 15, 2024, 2:21:16 AM4/15/24
to Christophe, Keycloak User
Hi Christophe,

depending on the version of Keycloak and your configuration, the "/auth" might need to be removed from the server URL. 

In order to set the admin password, you'll need to authenticate first with another user, which (given the context in your email). See https://stackoverflow.com/questions/69000968/keycloak-lost-admin-password for recipes on how to reset the admin password. 

Best,
Alexander



--
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/2bb6ec3f-b279-4996-a413-3809a81e076fn%40googlegroups.com.


--

Alexander Schwartz, RHCE

He/Him

Principal Software Engineer, Keycloak Maintainer

Red Hat - Germany remote

asch...@redhat.com   

Red Hat GmbH, Registered seat: Werner von Siemens Ring 12, D-85630 Grasbrunn, Germany 
Commercial register: Amtsgericht Muenchen/Munich, HRB 153243,
Managing Directors: Ryan Barnhart, Charles Cachera, Michael O'Neill, Amy Ross
Reply all
Reply to author
Forward
0 new messages