[keycloak-user] Running keycloak on OpenShift Origin, can't login to admin console

Marc Boorshtein marc.boorshtein at tremolosecurity.com
Sun May 27 12:29:18 EDT 2018


I'm trying to get kc running on OpenShift Origin 3.9.  The latest
container for dockerhub
(https://hub.docker.com/r/jboss/keycloak-openshift/) looks to be on
4.0.0.beta2.  Here are the steps i took:

1.  created a deployment using the container image
2.  added environment variables to use mysql
3.  added environment variables for a keycloak admin username and password
4.  set the command to "start-keycloak.sh -b=0.0.0.0"
5.  Service for 8080 was created by openshift, added a route

When I try to login to the admin console, I get an invalid redirect_url error:

16:13:19,624 WARN [org.keycloak.events] (default task-6)
type=LOGIN_ERROR, realmId=master, clientId=security-admin-console,
userId=null, ipAddress=10.128.0.1, error=invalid_redirect_uri,
redirect_uri=https://kc-demo.domain.com/auth/admin/master/console/

am i missing a config?

Thanks


More information about the keycloak-user mailing list