简体   繁体   English

我们如何同时验证 Email 和 SMS OTP

[英]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.

相关问题 如何在 Django 中使用移动 otp 验证用户注册? - how to verify user on sign up using mobile otp in django? 如何格式化电子邮件以短信形式发送 - How To Format Email to Send as SMS 我们如何构建一个节点 api 它将向用户发送邮件并生成 otp 以访问我的 python 微服务 - How can we build a node api which will send mail to users and will also generate otp for accessing my python microservices 有没有一种可视化方法可以识别时间序列数据上的相同事务? - Is there a visualization method that we can identify the same transactions on time series data? 如何使用Django生成基于时间的一次性密码(OTP) - How to generate Time based One Time Password(OTP) with Django 我们可以同时预测一个数据帧的两列吗? - can we predict two columns of a dataframe at same time? 我们如何从 memory 文件中提取 email? - How can we extract email from memory file? 我们如何同时使用tcpSerSock.listen(0)和tcpSerSock.send(str.encode(message)) - how can we use both tcpSerSock.listen(0) and tcpSerSock.send(str.encode(message)) at the same time 我们如何验证python 3.7中编写的代码是否在pycharm中的python 3.6中正常工作? - How can we verify if the code written in python 3.7 work properly in python 3.6 in pycharm? 使用生菜,如何验证从Django Web应用程序发送的电子邮件内容正确? - Using lettuce, how can I verify that an email sent from a Django web application has the correct contents?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM