© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•8mo ago•
1 reply
AC98

Supabase Auth using Twilio whatsapp with sms fallback

Hi everyone, I'm using supabase auth via Twilio verify currently to send otp codes to customers using SMS via Twilio's verify service. We want to also start sending codes via whatsapp through Twilio Verify.

Our goal is the following: First try to send the otp code via whatsapp (if the user has wa) else fallback to sms (if they don't have wa).

My questions are: Is this possible out of the box using suapbase auth, particularly this fallback behavior? If so, how and is there a way to tell whether the user authenticates via wa or regular sms so that we can store this in our system to help us prioritize the right communication channel with them in the future?

I've gone through the following documentation:
* Twilio verify with whatsapp: https://www.twilio.com/docs/verify/whatsapp
* Supabase auth doc: https://supabase.com/docs/guides/auth/phone-login?queryGroups=language&language=python&showSmsProvider=Twilio
* Post about fallback I found on Twilio, but IT DOES NOT MENTION FALLBACK IF USER DOESNT HAVE WA FOR EX: https://www.twilio.com/en-us/changelog/Verify_Fallback_Scenarios

Thank you so much!
Supabase banner
SupabaseJoin
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.
45,816Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

SMS-Hook with Twilio Verify
SupabaseSSupabase / help-and-questions
4mo ago
cannot send otp via SMS with Twilio
SupabaseSSupabase / help-and-questions
3mo ago
Using Firebase Auth with Supabase Storage
SupabaseSSupabase / help-and-questions
5mo ago
Supabase Twilio Error
SupabaseSSupabase / help-and-questions
4y ago