You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A secure MERN stack authentication system with both 1FA (username/password) and 2FA (TOTP) login flows. Built with Passport.js for primary authentication and Speakeasy for time-based OTP verification. Includes a modern React frontend, Node.js backend, and MongoDB for persistent user and 2FA data.
This is a simple application that demonstrates how to implement Two-Factor Authentication (2FA) using Node.js, Express.js, and MongoDB. The application uses the Speakeasy library to generate TOTP (Time-based One-Time Password) tokens and QRCode to generate QR codes.