Repository navigation
Closed
Labels
area/authenticationAuth flows, authenticators, required actions, OTP, password policies, brute forceAuth flows, authenticators, required actions, OTP, password policies, brute forcekind/bugCategorizes a PR related to a bugCategorizes a PR related to a bugteam/cloud-native
Description
Before reporting an issue
- 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
Actual behavior
Invalid user credentials
How to Reproduce?
Install the bitnami keycloak version on k8s
Anything else?
No response
Metadata
Metadata
Assignees
Labels
area/authenticationAuth flows, authenticators, required actions, OTP, password policies, brute forceAuth flows, authenticators, required actions, OTP, password policies, brute forcekind/bugCategorizes a PR related to a bugCategorizes a PR related to a bugteam/cloud-native
Type
Fields
No fields configured for issues without a type.
Activity