[英]How we can verify Email and SMS OTP at same time
I'm implementing 2FA with Twilio.我正在使用 Twilio 实施 2FA。 I want to verify email and SMS OTP both at the same time.我想同时验证 email 和 SMS OTP。 If I send Email and SMS OTP if the User enters the wrong OTP one of the.如果我发送 Email 和 SMS OTP 如果用户输入了错误的 OTP 之一。 The valid otp verifies but the other one is not.有效的 otp 验证,但另一个不是。 how we can achieve this to verify both at the same time.我们如何实现这一点以同时验证两者。
A verification via Twilio Verify is a verification for one factor at a time.通过 Twilio 验证的验证是一次验证一个因素。 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.我建议您发送一个验证,等待用户验证该因素,然后通过另一个渠道发送下一个验证。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.