Skip to content

amartyabiswas/Mobile-OTP-Verification

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mobile-OTP-Verification

My Mobile verification system is powered by Twilio. Twilio's npm package is available for Node.js app,which can be utilized for sending messages and voice calls.

Features of Twilio account:

  1. Free account generates a Twilio number which can send messages and voice calls only to the numbers that have been verified by Twilio.
  2. If you want to send message to any random number, then you need to purchase a premium Twilio number.
  3. Associate your twilio account with Authy.
  4. Authy is a 2way authentication method, whose packages are available for Node app.

Features of Authy:

  1. Authy sends OTP in the requested number, using Twilio messeges.
  2. Waits for the user to send the OTP back to the server for verification, and sets time limit at the same time.
  3. If the message dies, then there is option for Resend.
  4. Else the account is verified and the user is stored in the database as verified user.

screenshot 145

The Sign-up page:

screenshot 146

The OTP entered is sent back to the server, where it is verified. If the users exceeds the time-limit of sending the OTP back, then the OTP dies and the user has to request another OTP.

screenshot 147

After verification:

screenshot 148

Installation

1. Download the code.
2. Npm init and install all packages.
3. Insert Twilio ssid, account_id, and authy key.
4. Run Mongodb/ insert MLabs Uri.
5. nodemon server.js

Copyright

This project is made by Amartya Biswas. All rights reserved (2018) @ Amartya Biswas.

About

Verifies the mobile number entered by the user during signup through otp.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published