Francis Augusto Medeiros
unread,Apr 11, 2025, 6:33:54 AMApr 11Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Keycloak User
Hi,
When using the «action()» method of my custom authenticator, it seems that, when returning the same form (for example when the user needs to retry the credentials), the url for a loginAction is changed with a new session_code.
This works fine for static forms where the user needs to manually provide a new credential. But in situations where I need to poll the server (such as to verify if the user has performed and out-of-band approval) it is prone to problems as, when using mobile phones, the polling call might freeze when swiping back and forth from the browser to the authenticator app.
My question is: is that a way to send the url related to the loginAction with the same session_code? This would make my code more robust because if one HTTP call fails, the next one won’t need the previous session_code to keep on polling.
Best,
Francis