Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Next.js 15 Authentication with Next-Auth Tutorial

PedroTech via YouTube

Overview

Master authentication in Next.js applications through a comprehensive 30-minute video tutorial that walks through the complete implementation of NextAuth.js. Explore essential concepts from basic setup to advanced features, including installation procedures, environment variable configuration, and GitHub OAuth provider integration. Dive into practical demonstrations of sign-in/sign-out functionality, session management, and user information access. Learn to create secure protected routes using middleware, implement advanced middleware configurations, and integrate Prisma as an authentication adapter. Access the complete source code via GitHub to follow along and build a robust authentication system for Next.js 15 applications.

Syllabus

Introduction & Overview
Setting Up Next.js and NextAuth.js
Installing NextAuth.js and Environment Variables
Creating GitHub OAuth App
Configuring NextAuth.js for Authentication
Implementing Sign In and Sign Out Functionality
Accessing User Session Information
Creating Protected Routes with Middleware
Advanced Middleware Setup
Integrating Prisma as an Adapter
Conclusion & Next Steps

Taught by

PedroTech

Reviews

Start your review of Next.js 15 Authentication with Next-Auth Tutorial

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.