I've a instance of datahub that uses Keycloak OIDC...
# troubleshoot
b
I've a instance of datahub that uses Keycloak OIDC, of which there is no "datahub" user in the user list. Am trying to set some specific users as platform admins. How do I go about adding users as platform admins? Do I disable oidc first, then set? But if I disable oidc, I can't specify user, can I?
b
Hey @better-orange-49102. As long as AUTH_JAAS_ENABLED config is not set to false in your Datahub-frontend container, you should be able to login with username / password "datahub" from
localhost:9002/login
b
i tried enabling AUTH_JAAS_ENABLED, and got to the default Datahub login page, but it kept rejecting my login
Failed to log in! JAAS authentication is not enabled on the server
printenv in the frontend-react container does reflect that
AUTH_JAAS_ENABLED=true
oh strangely, disabling AUTH_JAAS_ENABLED in docker.env works rather than setting AUTH_JAAS_ENABLED=true allows me to login
how does datahub know to query oidc for users? i've several users in my dummy keycloak container that it picks up whenever i do a search, but there are also some users that it doesnt pick up
is this because i have (probably) logged in with those users identity before, and hence the user can be found?