michal4
3
Assuming you’re using the Validate and activate 2FA Workflow you can actually just continue the workflow sequence after that workflow. If the 2FA code fails to validate it will terminate the whole workflow and throw an error.
Same goes for Check 2FA code workflow(this is used once the user actually sets up the 2FA and logs into the system in the future).
I managed to get this working couple months back.
Let me know if you need any more info