Generic login page


Is it possible in Keycloak to create a generic login form where you can select ‘Realm’?

There is an idea to create your theme and add a field for entering “Realm” into it, then, after entering, redirect to the desired login page. Will SSO work correctly in this case?


All pages are rendered within the context of a specific Realm in Keycloak. You could build and host such a page separately, but not within Keycloak. Regarding your question “Will SSO work correctly in this case”, it really depends on what you’re asking. Realms in Keycloak are entirely separate from each other, unless you explicitly have IdP relationships setup between them.

Potentially possible via an SPI Extension.