Login Page Guide
Skipping the Standard Login Page
We strongly recommend skipping the standard Keycloak login page whenever possible. As outlined in the do's and don'ts, bypassing the default login page provides a better user experience and reduces unnecessary friction.
Only use the standard login page if it is absolutely required by your use case.
Customizing the Login page (if required)
If your implementation requires the Keycloak login page, you must provide dedicated, clear, and user‑appropriate text for the page.
Using the CSS App, you can specify this text by setting the Pathfinder SSO Login Page Name field during integration configuration.
Specifying an Identity Provider (IDP) to Bypass the Standard Login Page
When multiple identity providers (IDPs) are available in a realm, Keycloak displays a login page prompting the user to select an IDP. You can bypass this page and route users directly to a specific IDP by passing the optional query parameter kc_idp_hint.
- If using an adapter: supply the
idpHintoption during initialization. - If not using an adapter: include
kc_idp_hintin your authorization request URL, for examplehttp://localhost:8080/auth?kc_idp_hint=<idp_name>
Please see Keycloak documentation for additional details.
Need Help Passing an IDP Hint?
If the framework you are using prevents you from being able to pass through the IDP hint, please reach out to our team through Microsoft Teams Keycloak How-to Channel or by email to discuss alternative options.