SMS Phone Verification
Created by: Twilio
- Verify
- Python
- Ruby
- .NET
- JavaScript
- Go
- PHP
- Java
This is a basic SMS phone verification example. How it works:
- It uses Twilio Verify to verify phone numbers and add an additional layer of security
- Helps prevent fraudulent users from registering with your business
- It renders a UI to create an account on a (fictional) website
- The customer would enter a username, password and phone number
- It will then send the customer an SMS for 2-Factor Authentication (2FA)
- The customer will be asked to enter a verification code into the webpage to verify their account
- When the app receives the SMS from the customer, it will validate the verification code entered against the Twilio Verify service
- Choose a language
This project is available in multiple programming languages.
- Get the code for this project
The code for this sample is available on GitHub to view and download.
- Get Twilio credentials
You will need an Account SID and Auth Token in order to run this code.
Checking for existing account...
- Set up the code sample locally
Follow the setup instructions in the README to get the sample up and running.