Skip to content

rishabhpoddar/mfa-and-recaptcha

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Example app with MFA and Google reCAPTCHA

Features:

  • Login with social or email password
  • MFA with SMS or email OTP
  • Google reCAPTCHA
  • Support for JWTs and opaque tokens (via access token blacklisting)
  • User impersonation
  • Reset password flow
  • Session refreshing
  • User management dashboard

Setup

  1. Clone the repo

  2. Install dependencies:

cd backend && npm install
cd frontend && npm install
  1. Start the app
# in the root of the project
npm run start

This will start the node backend on http://localhost:3001 and the react frontend on http://localhost:3000.

Different flows

Email password login with OTP email as second factor

Email password login with OTP SMS as second factor

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published