p2-inc / keycloak-themes

Themes and theme utilities meant for simple theme customization without deploying a packaged theme
https://phasetwo.io
Other
28 stars 11 forks source link

Use base of url.resourcesPath instead of "/auth" #4

Closed aceat64 closed 1 year ago

aceat64 commented 1 year ago

Currently "/auth" is hardcoded as the path, which breaks the theme for instances where Keycloak is installed using a different KC_HTTP_RELATIVE_PATH.

I had to use ${url.resourcesPath?keep_before("/resources")} to get the base URI, as it doesn't appear to be available directly for templates.

This should resolve #1.