A big upgrade from Dial2Verify-Twilio V1
-
A session key is assigned when webpage is opened
-
User send a request with the session key as a parameter
-
A twilio number is assigned and return to the user
-
User send a phone call to the phone number within 20 seconds
-
Twilio webhook request is received when the phone call is initiated
-
The phone call is verifid and the webpage is refreshed
-
Twilio Account, duh
-
Pre-determined App URL
-
npm install
-
cp .env.example .env
-
Fill up
.env
-
npm run start
Phone number can be spoofed so this is not secure to replace a traditional authentication,
unless if your targeted customers are from US then there is spoof proofing mechanism; https://www.twilio.com/docs/voice/trusted-calling-with-shakenstir#incoming-calls
Licensed under the MIT license