[keycloak-user] Absolute links in admin pages

Pål Oliver Kristiansen paal.oliver at gmail.com
Thu Jun 2 07:24:28 EDT 2016


Hi!

We are trying to install Keycloak on a server behind a BigIP SSL
terminator. Keycloak is running within a Docker container on a different
server.

But trying to open the Administration Console fails because all the links
within the markup are absolute links which is resolved to
http://localhost:9555/auth/...

So both the scheme and the hostname is wrong.

Questions:

Why are these links absolute? Is there a way to configure this to be
relative links?
Or, if they must be absolute, is there a way to configure the links to
become correct?

>From what I can gather, this is the line where the absolute link is
resolved:
https://github.com/keycloak/keycloak/blob/5c98b8c6ae7052b2d906156d8fc212ccd9dfd57d/services/src/main/java/org/keycloak/services/resources/admin/AdminConsole.java#L292

Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/keycloak-user/attachments/20160602/7b2d4e3a/attachment.html 


More information about the keycloak-user mailing list