Change behaviour on user cancelled IDP login

120 views
Skip to first unread message

Marvin Bredal Lillehaug

unread,
Mar 1, 2023, 9:46:32 AM3/1/23
to Keycloak User
Hi!
Is there any way to change what happens when a user cancels the login? 
What technically happens is that the IDP send a redirect to /auth/realms/{realm}/broker/{idp}/endpoint?error=access_denied.

If the authentication flow i question has only one IDP, the initial login page is presented. For flows with multiple IDPs (kc_idp_hint is used on start) the initial login page for the next IDP is presented. 

There are several unanswered questions in the forum regarding this:

What I would like is the possibility to redirect to the a page in my application when this happens.
Reply all
Reply to author
Forward
0 new messages