-
I've been searching a lot about how do I change the default url of the admin console of Keycloak in CentOS7. My current URL is like this schema: https://my-domain/admin/master/console, so I want to change the admin part to something like https://my-domain/new-url/master/console Most sites say that you can modify the standalone.xml file, but I couldn't find that file in version 20.0.0. It seems that this file is not available anymore since version 14. I hope that someone can help me to solve this big problem, because even I have read all the official documentation, I couldn't find anything. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
Unfortunately, selectively changing context root just for admin console is not supported OOTB. However, you should be able to configure a reverse proxy to do that for you. You can then configure the hostname settings so Keycloak expects your new URL. Note that this settings doesn't actually affect the context root (or ports) that Keycloak uses, it just modifies the redirect URLs, links in the UI etc. |
Beta Was this translation helpful? Give feedback.
Unfortunately, selectively changing context root just for admin console is not supported OOTB. However, you should be able to configure a reverse proxy to do that for you. You can then configure the hostname settings so Keycloak expects your new URL. Note that this settings doesn't actually affect the context root (or ports) that Keycloak uses, it just modifies the redirect URLs, links in the UI etc.