It is an alternative authentication flow, seperating the input fields for email and password.
Developed and tested in Keycloak version 12.0.4.
-
Once
keycloak-split-login-forms
is deployed on your server, (re-)start said server.You can use
./restart.sh
in the root directory of the project. -
Now open the web admin console of keycloak, under Configure go to
Authentication
. In theFlows
tab create a copy of theBrowser
flow. -
Delete
Username Password Form
andBrowser - Conditional OTP
in your new flows Forms. -
Add a new execution to
*your flow name* Forms
using thetwo-step-login-with-code
provider and set its requirement toREQUIRED
. -replace -
Switch to the
Bindings
tab and change your Browser Flow to your new flow and save the settings. -replace -
Now open the
Realm Settings
, go to theThemes
tab and select theSplit-login form
for the Login- aswell as the Email Theme. -replace -
Enable
Internationalization
and remove all theSupported Locales
exceptde
anden
(and any languages you added) and set theDefault Locale
to your preference and save. -replace