Completed
Intro
Class Central Classrooms beta
YouTube videos curated by Class Central.
Classroom Contents
Next.js Role-Based User Authorization and Access Control - Next Auth Protected Routes
Automatically move to the next video in the Classroom when playback concludes
- 1 Intro
- 2 Welcome
- 3 Getting Started
- 4 Starter Code
- 5 Options - OAuth profile function
- 6 Options - Credentials authorize function
- 7 Persisting the role
- 8 TypeScript Module Augmentation
- 9 Middleware - withAuth wrapper
- 10 Environment variables
- 11 Trying out the configuration
- 12 Analyzing the results
- 13 Component changes
- 14 Middleware - authorized callback changes
- 15 Middleware - Role-Based Access Routing
- 16 Denied page
- 17 Trying out the new Middleware configuration