Repository navigation
Bootstrap admin account does not work #40693
Before reporting an issue
Areaauthentication Describe the bugHaving installed keycloak on k8s, we wish to disable login in as admin through username and password and only use a oauth2 SSO option. What could be the issue? Version26.2.2 Regression
Expected behaviorBeing able to login with the admin bootstrap account Actual behaviorInvalid user credentials How to Reproduce?Install the bitnami keycloak version on k8s Anything else?No response |
Replies: 2 comments 8 replies
|
For KC_BOOTSTRAP_ADMIN_PASSWORD and KC_BOOTSTRAP_ADMIN_USERNAME to be used, they must be set the first time a keycloak node starts - before the master realm is created. If you need a bootstrap admin after that point in time, you may use one of the kc.sh bootstrap-admin command variations. |
|
in verbose mode: |
You can use a Job to run command like import, export, or bootstrap-admin - this just came up in #40708 (comment)