Hi all,
I would like to make Keycloak automatically log in and redirect to the front-end application after the email verification step in which the URL is opened in another browser.
Desired outcome
- Register a user via Chrome browser or Mobile app
- Click the link in the email and opens the page in Edge for example
- Confirm the email address
After 3), it should automatically log in and redirects the user to the front-end application
Not 100% certain but I think that was working with Keycloak 11.0.3 and I have customised the Keycloak login templates so that
- A link is shown at the bottom of the
EMAIL VERIFICATIONpage and basically refreshes the current page once clicked after the email is verified by the user (i.e. clicked the link to verify) - A link is shown at the bottom of the
YOUR EMAIL ADDRESS HAS BEEN VERIFIEDpage and runs the javascript to open an URL (https://{host}/realms/{realm}/protocol/openid-connect/auth?response_type=code&client_id={clientId}&redirect_uri={redirectUri}) to redirect to the front-end application
I have upgraded to use Keycloak 19.0.3 and notice it is no longer working.
Thanks for your help!