Repository navigation
How to Disable Keycloak Domain Root Path Redirection to the Admin Portal #36706
|
I have deployed Keycloak in production mode, and I have separated the admin portal to a different DNS. Currently, when accessing the root path of the Keycloak hostname domain (e.g., https://keycloak.example.com), it automatically redirects to the admin portal (https://keycloak-admin.example.com/admin/master/console/). I want to configure Keycloak so that the root path does not redirect to the admin portal and instead redirects to a different domain or path (e.g., https://myapp.example.com). Is there any Keycloak configuration or setting that can help achieve this? Would appreciate any guidance on how to stop this automatic redirection to the admin portal from the root path. Thanks in advance! |
Replies: 2 comments
|
https://stackoverflow.com/questions/78251173/keycloak-how-to-override-welcome-screen-redirect-behavior-to-custom-realm-ins links #10467 (comment) and has a detailed answer that matches this description pretty well. |
|
If you don't want to customize the look of the welcome page, you can also just create a empty theme with theme.properties only, with something like: |
https://stackoverflow.com/questions/78251173/keycloak-how-to-override-welcome-screen-redirect-behavior-to-custom-realm-ins links #10467 (comment) and has a detailed answer that matches this description pretty well.