Skip to content

ml4909854/Mobile_Number_Otp_Authentication

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mobile Number OTP Authentication

A modern React + Axios OTP authentication frontend supporting phone-based login via SMS.

Features

  • +91 phone formatting and validation
  • OTP send and verify flow with tempToken
  • Navigation between Signup and Login UI
  • Disabled resend button to prevent spamming
  • Stores accessToken in localStorage upon success
  • Protected route (/privateRoute) access
  • Inline, responsive CSS for desktop and mobile

Getting Started

  1. Set .env in project root:

About

This project likely include backend or template for OTP verification. It's designed for reuse and portability for future enhancements. connecting to your Express + Twilio (or other) backend. It handles sending OTPs, verifying them, and managing protected sessions seamlessly.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors