Перейти к содержимому

Build a Two-Factor Authentication System with React in 90 Minutes

Dipesh Malvia

0:00 / 0:00

Build a Two-Factor Authentication System with React in 90 Minutes

16 809 просмотров · 1 год назад
Dipesh Malvia
97,5 тыс. подписчиков
16 809 просмотров · 1 год назад
Welcome to this comprehensive tutorial on building a Two-Factor Authentication (2FA) system using React, Session Context API, and API integration. In this project, we will learn how to create a secure login system with 2FA, manage sessions effectively using React Context, and seamlessly integrate APIs for real-time authentication. In this project, we’ll learn how to secure user accounts with 2FA, improving the overall security of our applications. ⭐️ Full Source Code ⭐️ https://buymeacoffee.com/dipeshmalvia... 🔥 Video contents... ENJOY 👇 0:00:00 - Intro 0:00:25 - Project Highlights 0:01:37 - API's Overview 0:02:26 - Backend Project Overview 0:03:39 - Project Setup & Dependencies 0:06:53 - Adding Tailwindcss To Project 0:08:26 - Project Files & Folder Structure 0:12:44 - Adding API functions with Axios 0:18:19 - Adding RouterProvider & CreateBrowserRouter 0:23:24 - Make Routes Protected 0:26:03 - Login & Register Form UI 0:36:00 - Handle Login & Register User 0:46:24 User Session Context API 0:55:14 - Setup 2FA UI 1:05:35 - Handle Setup 2FA API 1:07:48 - Page Refresh Session Issue 1:12:35 - Verify & Reset 2FA UI 1:16:24 - Verify & Reset 2FA API 1:18:53 - HomePage UI 1:21:20 - Test 2FA User Flow 1:25:15 - Handle User Logout API 1:27:04 - Fix Logout API - Session Destroy & Clear Cookie 1:09:50 - Outro Node.js: The Complete Guide to Build Backend Projects🔥 Link - https://www.dipeshmalvia.com/courses/... ⭐️ Node.js for beginners Playlist ⭐️    • Node.js Tutorial For Beginners   ⭐️ Related Videos ⭐️ 🔗 Learn VITE For Next React -    • Learn Vite For Next React TypeScript Proje...   🔗 React Firebase CRUD App -    • Complete React Firebase CRUD Project | Fir...   🔗 React Firebase Auth with Context API -    • React Firebase Authentication Crash Course...   🔗 React Context API -    • React Context API Tutorial For Beginners |...   🔗 CSS Crash Course in 1 Hour -    • CSS Crash Course For Absolute Beginners [T...   ⭐️ Crash Courses ⭐️ 🔗 Nodejs Crash Course -    • Learn Node.js & Express with Project in 2 ...   🔗 React Crash Course -    • Learn React JS with Project in 2 Hours  | ...   🔗 JavaScript Crash Course -    • JavaScript Tutorial for Beginners | JavaSc...   🔗 HTML5 Crash Course in 1 Hour -    • HTML5 Crash Course for Absolute Beginners ...   🔗 CSS Crash Course in 1 Hour -    • CSS Crash Course For Absolute Beginners [T...   🔗 Social Medias 🔗 Twitter:   / imdmalvia   Facebook:   / programmingwithdipesh   Instagram:   / dipeshmalvia   LinkedIn:   / dmalvia   ⭐️ Tags ⭐️ Add Login & 2FA Auth In Your React App Authentication In React Using Authenticator App, JWT, Tokens React Login, Registration, 2FA Setup Authentication Add 2FA Auth In Your React Project Easily ⭐️ Hashtags ⭐️ #react #2fa #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.