RequiredAction and clean return to login flow

13 views
Skip to first unread message

Francis Augusto Medeiros

unread,
Oct 7, 2025, 2:43:47 PM (11 days ago) Oct 7
to keyclo...@googlegroups.com
Hi,

I am almost done with a custom required action. 

On this required action, I have to redirect the user to another idp. I have a custom resource that I use as a callback, and then this callback redirects the user back to the required action when that step up on the external idp is performed. 

But this doesn’t work so well when the required action is trigged during the login flow. I can’t seem to be able to restart the required action without a new login. The user is sent back to the login with a timeout error. 

Is there a way to 
A) detect that the required action was triggered during the login flow(as opposite to when performing it from the account menu)?
B) is it possible to trigger a restart of the required action without having to reauthenticate?
__
Francis Augusto Medeiros-Logeay
Oslo, Norway
Sent from a mobile device / Enviado a partir de dispositivo móvel

Alexander Schwartz

unread,
Oct 9, 2025, 4:39:26 AM (10 days ago) Oct 9
to Francis Augusto Medeiros, keyclo...@googlegroups.com
Hello Atul,

Thank you for reaching out. This mailing list is about developing Keycloak itself, not about developing applications that interface with Keycloak. When writing extensions to Keycloak, this might be the place to ask for more SPIs, but for everything else please use the keycloak user mailing list. I see you already cross-posted a similar question to the user mailing list. 

I'll try to provide an answer on the user mailing list. 

Best,
Alexander


--
You received this message because you are subscribed to the Google Groups "Keycloak Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to keycloak-dev...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/keycloak-dev/B560F5A0-CA72-4C8C-8B4F-4CA94EB96473%40gmail.com.


--

Alexander Schwartz, RHCE

He/Him

Principal Software Engineer, Keycloak Maintainer

alexander...@ibm.com


IBM Data Privacy Statement 


IBM Deutschland Research & Development GmbH

Vorsitzender des Aufsichtsrats: Wolfgang Wendt

Geschäftsführung: David Faller

Sitz der Gesellschaft: Böblingen / Registergericht: Amtsgericht Stuttgart, HRB 243294

Reply all
Reply to author
Forward
0 new messages