Build a Phone Authentication App
summary
Builds a working phone-auth app that uses Svelte front end, Appwrite backend, and Twilio SMS OTP to send and verify one‑time codes; demo successfully receives an OTP on a Twilio trial‑registered number. Setup requires Docker (or one‑click hosts), filling .env keys (APP_PHONE_PROVIDER, accountSid, authToken, APP_PHONE_FROM, Appwrite project ID and endpoint), restarting containers (docker compose up --force-recreate), and running npm run dev. Code and repo are publishable for hackathons and class projects.
AI-written summary · about
chapters (16)
- 0:00Introduction
- 1:18Phone auth app overview
- 2:19Tech stack overview
- 3:03What is phone auth
- 4:50Appwrite backend intro
- 7:38Appwrite features
- 8:00Twilio for SMS intro
- 9:43Twilio setup tips
- 10:06Demo architecture
- 12:35Appwrite local setup
- 14:43Appwrite project setup
- 15:47Configuring Appwrite & Twilio
- 18:21Demo repo setup
- 20:08Live demo: phone auth
- 21:57Code walkthrough
- 23:21Resources
related talks
30mAutomating Multi-Factor Authentication
46mPasswords are not Enough
51mWeb APIs for delightful two factor auth experiences
18mTesting Passwordless Authentication Flows
25mDiscover How to Streamline User Onboarding With Network APIs
01h 02mWhy using SMS in the authentication chain is risky
46mPassword-less apps: implementing WebAuthN
01h 28mHow to 2FA-enable Open Source Applications
