keycloak-containers
keycloak-containers copied to clipboard
base uri not available for proxy as a subfolder using traefik - Edited
Describe the bug
Cannot use example.com/keycloak as a subfolder because mission an environment variable.
You can set KC_HOSTNAME: example.com/keycloak but according to docs you need to set the hostname path. This results in links coming back to example.com/admin instead of example.com/keycloak/admin. The following is needed, but not possible as of the latest release. KC_HOSTNAME_PATH:/keycloak
Version
18
Expected behavior
example.com/keycloak/admin
Actual behavior
example.com/admin
How to Reproduce?
No response
Anything else?
No response
Found more documentation. KC_HOSTPATH_PATH does exist. Just having trouble with traefik i guess. The page at example.com/keycloak reads "We are sorry page not found" The page is there when I go to example.com/keycloak when I strip the prefix with traefik. But the links on the page go to example.com/admin instead of example.com/keycloak/admin
With Keycloak 20 the WildFly based distribution is no longer supported. For the newer Quarkus distribution of Keycloak, check out the new documentation, or the updated container sources.