MENU

Fun & Interesting

NextJS 15 Authentication Tutorial - Learn Next-Auth in 30 Minutes

PedroTech 32,192 3 months ago
Video Not Working? Fix It Now

Learn how to integrate NextAuth.js into a Next.js application in just a few simple steps. This video covers installation, provider setup (like GitHub OAuth) and session management. Code: https://github.com/machadop1407/nextjs-15-authentication-next-auth Want to Support Me? https://buymeacoffee.com/pedrow 🚀 Learn ReactJS By Building 6 Projects: https://codedamn.com/learn/reactjs-projects 🐙 GraphQL Course: https://codedamn.com/learn/graphql-for-beginners Social ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬ Website: https://www.pedrotech.co Linkedin: https://www.linkedin.com/in/machadop1407/ Instagram: https://www.instagram.com/pedro.fmachado_ Github: https://github.com/machadop1407 Business Email: [email protected] 🌟 Gear / Hardware I Use and Recommend 🌟 ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬ 💻 https://amzn.to/42kqFuM 💻 Monitor 🖱️https://amzn.to/3C0ZhHb 🖱️ Mouse 📷 https://amzn.to/3OHJvbM 📷 My Camera 🎤 https://amzn.to/3oxSthj 🎤 My Microphone ⌨️ https://amzn.to/3oFPpj1 ⌨️ My Microphone ⚡ https://amzn.to/3MYMnzM ⚡ LED Lights In the Background TIMESTAMPS 00:00 Introduction & Overview 00:14 Setting Up Next.js and NextAuth.js 01:15 Installing NextAuth.js and Environment Variables 02:50 Creating GitHub OAuth App 05:04 Configuring NextAuth.js for Authentication 08:02 Implementing Sign In and Sign Out Functionality 12:49 Accessing User Session Information 15:10 Creating Protected Routes with Middleware 18:15 Advanced Middleware Setup 25:00 Integrating Prisma as an Adapter 29:30 Conclusion & Next Steps #reactjs #tutorial

Comment