Verify Server

by robinske

GitHub Readme.md

Verify Backend

The following project is a sample for implementing the backend needed for supporting the Phone Verification in iOS apps. Full tutorial for adding phone verification available on the Twilio blog: https://www.twilio.com/blog/phone-verification-in-ios-with-twilio-verify-and-swift-html

Also available in:

Heroku

Deploy to Heroku

Setup your TWILIO_ACCOUNT_SID, TWILIO_AUTH_TOKEN, and VERIFY_SERVICE_SID as a Heroku config variables. You can do this via the CLI or in the Heroku dashboard.

Local

Copy .env.example to .env and fill in the necessary config variables.

Run with flask:

flask run

Config variables

These are required to run the server application.

Found in the Twilio Console:

  • TWILIO_ACCOUNT_SID
  • TWILIO_AUTH_TOKEN

Create a verification service:

  • VERIFY_SERVICE_SID