简体   繁体   English

我无法使用 Twilio 电话号码进行 Apple 双因素身份验证

[英]I'm unable to use a Twilio phone number for Apple Two Factor authentication

I am trying to use a Twilio phone number for Apple's two factor authentication, but when I set up the phone number on Apple's site the initial verification SMS is never received by the Twilio number.我正在尝试使用 Twilio 电话号码进行 Apple 的双因素身份验证,但是当我在 Apple 网站上设置电话号码时,Twilio 号码从未收到过初始验证短信。 I have confirmed that Apple is able to send the text to a Google Voice number.我已确认 Apple 能够将文本发送到 Google Voice 号码。 I have also confirmed with Apple support that the message sent is a standard SMS.我还与 Apple 支持确认发送的消息是标准 SMS。 Is there something on Twilio's side preventing receiving the message? Twilio 方面是否有什么东西阻止接收消息?

This is actually by design.这实际上是设计使然。 By default, Twilio long code numbers can't receive SMS messages from short code numbers. Twilio长码号默认收不到短码号的短信。 Look for the section titled "Are you expecting to receive SMS from a short code?"查找标题为“您是否希望通过短代码接收短信?”的部分at the following link.在以下链接。 https://support.twilio.com/hc/en-us/articles/223133447-Not-Receiving-Incoming-SMS-and-MMS-Messages-on-Twilio-Phone-Number https://support.twilio.com/hc/en-us/articles/223133447-Not-Receiving-Incoming-SMS-and-MMS-Messages-on-Twilio-Phone-Number

When I asked this question the functionality wasn't available at all, but now the feature can be requested.当我问这个问题时,该功能根本不可用,但现在可以请求该功能。 There are caveats.有一些警告。 https://support.twilio.com/hc/en-us/articles/223181668-Can-Twilio-numbers-receive-SMS-from-a-short-code- https://support.twilio.com/hc/en-us/articles/223181668-Can-Twilio-numbers-receive-SMS-from-a-short-code-

As a followup to ryechus' answer, I requested this functionality and was still not able to receive 2fa codes from apple in Twilio. Their support said:作为 ryechus 回答的后续,我请求了此功能,但仍然无法在 Twilio 中收到来自苹果的 2fa 代码。他们的支持说:

the unfortunate limitation you're likely facing is that I have know Apple to prevent verification codes from being sent to virtual phone numbers.您可能面临的不幸限制是我知道 Apple 会阻止将验证码发送到虚拟电话号码。

Some services review the offered number and only send verification SMS to phone numbers associated with genuine handsets as a measure to protect against fraud.一些服务会审查提供的号码,并仅向与正品手机相关联的电话号码发送验证短信,以此作为防止欺诈的措施。

Unfortunately, regardless of the Twilio configuration, in my experience Apple will not delivery verification messages to Twilio.不幸的是,无论 Twilio 配置如何,根据我的经验,Apple 都不会向 Twilio 发送验证消息。

Interestingly, it does work with google voice.有趣的是,它确实适用于谷歌语音。

I'm sorry to report/confirm you still cannot use a Twilio SMS number for 2FA messages from Apple.很遗憾地报告/确认您仍然不能使用 Twilio 短信号码来接收来自 Apple 的 2FA 消息。 I can receive other 2FA SMS messages via short codes on my Twilio SMS number, but when I try to add the number to an Apple ID the verification message never shows up.我可以通过我的 Twilio SMS 号码上的短代码接收其他 2FA SMS 消息,但是当我尝试将该号码添加到 Apple ID 时,验证消息永远不会出现。 Google voice still works.谷歌语音仍然有效。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM