Multi-factor authentication (MFA) is a security method that requires users to provide at least two different forms of identification to access a system.
In this video we will build a Two-Factor Authentication system using Node.js, Express, Speakeasy and Passport.js.
In this project, we’ll learn how to secure user accounts with 2FA, improving the overall security of our applications.
⭐️ Full Source Code ⭐️
[ Ссылка ]
🔥 Video contents... ENJOY 👇
0:00:00 - Intro
0:00:45 - Project Overview
0:04:00 - Project Setup & Dependencies
0:08:45 - Passport.js & Speakeasy Overview
0:11:04 - Create Express Server
0:14:14 - Middleware and Session config
0:18:02 - MongoDB connection
0:22:18 - Mongoose User Model
0:25:10 - Authentication & MFA Routes Setup
0:28:42 - Authentication & MFA Controller Setup
0:30:06 Register User
0:34:34 - Login User - Passport Config
0:43:17 - Serialize & Deserialise User Passport Session
0:46:07 - AuthStatus & Logout User
0:50:24 - isAuthenticated Middleware MFA Routes
0:53:04 - Setup 2FA
1:01:31 - Verify & Reset 2FA
1:05:18 - Testing on Thunder client
1:07:05 - Testing on Postman
1:09:50 - Outro
Node.js: The Complete Guide to Build Backend Projects🔥
Link - [ Ссылка ]
⭐️ Node.js for beginners Playlist ⭐️
[ Ссылка ]
⭐️ Related Videos ⭐️
🔗 Learn VITE For Next React - [ Ссылка ]
🔗 React Firebase CRUD App - [ Ссылка ]
🔗 React Firebase Auth with Context API - [ Ссылка ]
🔗 React Context API - [ Ссылка ]
🔗 CSS Crash Course in 1 Hour - [ Ссылка ]
⭐️ Crash Courses ⭐️
🔗 Nodejs Crash Course - [ Ссылка ]
🔗 React Crash Course - [ Ссылка ]
🔗 JavaScript Crash Course - [ Ссылка ]
🔗 HTML5 Crash Course in 1 Hour - [ Ссылка ]
🔗 CSS Crash Course in 1 Hour - [ Ссылка ]
🔗 Social Medias 🔗
Twitter: [ Ссылка ]
Facebook: [ Ссылка ]
Instagram: [ Ссылка ]
LinkedIn: [ Ссылка ]
⭐️ Tags ⭐️
- Node.js, Express & MongoDB User Authentication Project
- Build Rest API Authentication & Authorization Project Using Express & MongoDB
- Node.js, Speakeasy, Passport.js & EXPRESS Authentication Crash Course
- Express Two-Factor Authentication Project For Beginners
⭐️ Hashtags ⭐️
#nodejs #authentication #beginner #tutorial
Disclaimer:
It doesn't feel good to have a disclaimer in every video but this is how the world is right now. All videos are for educational purpose and use them wisely. Any video may have a slight mistake, please take decisions based on your research. This video is not forcing anything on you.
Ещё видео