Home > other >  How we can verify Email and SMS OTP at same time
How we can verify Email and SMS OTP at same time

Time:07-28

I'm implementing 2FA with Twilio. I want to verify email and SMS OTP both at the same time. If I send Email and SMS OTP if the User enters the wrong OTP one of the. The valid otp verifies but the other one is not. how we can achieve this to verify both at the same time.

CodePudding user response:

A verification via Twilio Verify is a verification for one factor at a time. I would recommend that you send out one verification, wait for the user to verify that factor, then send out the next verification over the other channel.

  • Related