Watch: Let users log in with a text message code | Vovy
Watch Vovy do it on a Mac: "Add phone number login with SMS codes to my app". Vovy connects Twilio to Supabase Auth so users get a 6-digit text code to sign in, and walks you through US carrier registration.
"Add phone number login with SMS codes to my app"
Vovy connects Twilio to Supabase Auth so users get a 6-digit text code to sign in, and walks you through US carrier registration.
What happens in the video
- Set up a Twilio sender: Vovy opens the Twilio Console, creates a Messaging Service and shows the numbers you can buy. You approve the number purchase.
- Explain US registration: A card explains that US carriers block unregistered texts, so you'll need A2P 10DLC or toll-free verification, and helps fill in the form.
- Connect Twilio to Supabase: It pastes your Account SID, Auth Token and Message Service SID into Authentication, Sign In / Providers, Phone in Supabase.
- Build the phone login form: In Cursor Vovy adds a phone field that calls signInWithOtp and a code field that calls verifyOtp.
- Test with your phone: It sends a code to your number, you type it in, and a card shows the cost per text and the Twilio delivery log.
Read the step-by-step guideLoading...