I am installing keycloak through a third party open source application called camunda. The installation is done through helm on k8s. Internally camunda uses bitnami keycloak helm chart for installation
With the below helm values file configuration (local) I am enabling keycloak, configuring an external postgres server and setting the admin user/password to admin/admin
.
When we navigate to the keycloak page (http://localhost:18080) we see the keycloak welcome page. Accessing the “Administration Console” page navigates to the login screen. Logging in with admin/admin
fails though with “Invalid username or password” error (screenshot attached).
The keycloak k8s pod does print the below logs indicating the login error.
Any inputs on what could be going wrong would be helpful? Thanks
Keycloak Logs
14:00:59,330 WARN [org.keycloak.events] (default task-2) type=LOGIN_ERROR, realmId=master, clientId=security-admin-console, userId=null, ipAddress=127.0.0.1, error=user_not_found, auth_method=openid-connect, auth_type=code, redirect_uri=http://localhost:18080/auth/admin/master/console/, code_id=e66f96be-3ebf-4da3-a354-2840e379a1ff, authSessionParentId=e66f96be-3ebf-4da3-a354-2840e379a1ff, authSessionTabId=GMIbo2jB2WE
14:00:59,835 WARN [org.keycloak.events] (default task-2) type=LOGIN_ERROR, realmId=master, clientId=admin-cli, userId=46da1e66-7f55-494f-93a1-d6a2861b4e73, ipAddress=10.42.0.58, error=invalid_user_credentials, auth_method=openid-connect, grant_type=password, client_auth_method=client-secret, username=admin, authSessionParentId=c3d1efbb-5ba2-4195-9926-c02ecc37b15d, authSessionTabId=poB-1DXKPcs
Helm file
keycloak:
enabled: true
postgresql:
enabled: false
externalDatabase:
host: 192.168.1.7
port: 5432
user: admin
database: postgres
password: admin
auth:
adminUser: admin
adminPassword: admin