Replies: 1 comment 7 replies
-
I would probably create a custom strategy and store in session some data after the first step, then take the user to the next step UI and once the user sent the second factor token/code/whatever complete the auth storing calling the verify callback where you get the user data. |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey 👋
We have a requirement for MFA in our project and I'm trying to think what would be a recommended approach for this flow with
remix-auth
.The mfa flow has two stages:
Right now my solution is to authenticate user using the form strategy and then make a decision based on that:
I feel like this approach is a bit clunky - is there a better alternative to do it :)?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions