TwilioKelley RobinsonTutorial
Best practices for implementing Silent Network Authentication in production
Summary
Silent Network Authentication (SNA) lets businesses verify users behind the scenes using cellular network authentication, reducing friction while maintaining security. Implementation requires forcing mobile data in the app because SNA fails on Wi-Fi with error 60531. Developers must follow all redirects from the sna.url, as carriers handle redirects differently. Dual-SIM scenarios in countries like the Philippines and Indonesia are handled by comparing the service provider from the user-provided phone number against the IP-address-derived provider. Fallback to SMS or WhatsApp is recommended when SNA is unavailable, such as on desktop or out-of-coverage networks.
Context
Silent Network Authentication (SNA) lets businesses verify users behind the scenes using cellular network authentication, reducing friction while maintaining security. The post covers implementation details, edge cases, and global scaling for Twilio Verify SNA.
Approach / What changed
Force mobile data in the app (iOS library or Android requestNetwork), follow all redirects from the sna.url, use edge-location API URLs for EMEA data residency, detect dual-SIM by comparing the service provider from the user-provided phone number against the IP-address-derived provider, and fall back to SMS or WhatsApp when SNA is unavailable.
Takeaways
SNA requires the request to be made over mobile data, not Wi-Fi; force this in iOS with the iOS library and in Android with requestNetwork.
Dual-SIM detection compares the service provider from the user-provided phone number against the provider from the data SIM’s IP address; mismatches return errors 60500 or 60532.
Use the Verify SNA Live Test Number to test with your own number while carrier registration is in progress, and use HeadSpin for testing in regions where you are not physically located.
FAQ
How long does SNA take?
SNA takes 2–4 seconds total. Invoking the sna.url on the device accounts for 2–3 seconds (up to 4), while the API requests to obtain the URL and check verification each take under 100 ms.
Does SNA work with spoofed phone numbers?
No. The request will fail with the service provider when they perform the underlying GSM authentication.
What triggers a billing event for SNA?
SNA is currently in Pilot and not billed. At Beta, billing triggers after the sna.url is invoked and verification is approved, or on error codes 60500 (Phone Number Mismatch) or 60540 (Carrier Identified Invalid Phone Number). Other errors are not billed.
Source and freshness
- Source
- twilio.com
- Published
- Added to Yomu
Summaries are generated from the original by a language model. Check the original before relying on it.
Keep reading
Related reading
The Good Stuff
Paid picks we use ourselves. Links carry a referral code — a subscription through one earns us a commission at no extra cost to you.
The best engineering reads, once a week
One useful email. Unsubscribe anytime.