Hi!
I would like to add MFA (Sending verification code to email) before resetting password.
- User clicks on forgot password
- User enters email
- User gets an email for verification code
- User enters verification code
- User enters new password and change the password
I have been trying to find out how to call MFA before changing the password, but couldn’t figured this out. I could only find the action template for ‘verified email’ before changing the password. From my understanding, first, it needs to authenticate the user and then call MFA API call. However, user authentication requires a password. Since the user doesn’t know the password, I couldn’t use the same API call as I did after creating/login functionality.
If anyone know how to solve this, I would appreciate it!