You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have read and understood the above terms for submitting issues, and I understand that my issue may be closed without action if I do not follow them.
Area
authentication
Describe the bug
Having installed keycloak on k8s, we wish to disable login in as admin through username and password and only use a oauth2 SSO option.
For us to be able to login still as admin when the SSO option fails, we wish to be able to set the bootstrap admin account. However when doing so, login fails.
> k exec -n keycloak-primary -it keycloak-primary-2 -- /bin/bash
keycloak@keycloak-primary-2:/$ echo $KC_BOOTSTRAP_ADMIN_PASSWORD
myverysecurepassword
keycloak@keycloak-primary-2:/$ echo $KC_BOOTSTRAP_ADMIN_USERNAME
temp-admin
keycloak@keycloak-primary-2:/$ cd /opt/bitnami/keycloak/bin
keycloak@keycloak-primary-2:/opt/bitnami/keycloak/bin$ ./kcadm.sh config credentials --server http://localhost:8080/auth/ --realm master --user temp-admin --password myverysecurepassword --config /tmp/kcadm.config
Logging into http://localhost:8080/auth/ as user temp-admin of realm master
Invalid user credentials [invalid_grant]
keycloak@keycloak-primary-2:/opt/bitnami/keycloak/bin$
What could be the issue?
Version
26.2.2
Regression
The issue is a regression
Expected behavior
Being able to login with the admin bootstrap account
Activity