Next.js Authentication - AuthJS / NextAuth for Role-Based Security

Next.js Authentication - AuthJS / NextAuth for Role-Based Security

freeCodeCamp.org via freeCodeCamp Direct link

⌨️ Introduction

1 of 16

1 of 16

⌨️ Introduction

Class Central Classrooms beta

YouTube videos curated by Class Central.

Classroom Contents

Next.js Authentication - AuthJS / NextAuth for Role-Based Security

Automatically move to the next video in the Classroom when playback concludes

  1. 1 ⌨️ Introduction
  2. 2 ⌨️ Environment Setup / Extension Review
  3. 3 ⌨️ Project Creation
  4. 4 ⌨️ Install NextAuth Auth.js / Create Project Structure
  5. 5 ⌨️ Create NextAuth Auth.js API - Options / Routes
  6. 6 ⌨️ Setup built-in OAuth Provider - Google / GitHub
  7. 7 ⌨️ Login / Logout Funtionality
  8. 8 ⌨️ Protecting Pages - Server Side Page
  9. 9 ⌨️ Protecting Pages - Client Side Page
  10. 10 ⌨️ Protecting Pages - Middleware
  11. 11 ⌨️ Creating Custom Provider Creating a Database of Users
  12. 12 ⌨️ MongoDB Atlas Signup / Setup
  13. 13 ⌨️ Create User Models Mongoose Schema
  14. 14 ⌨️ User Form to Create Users
  15. 15 ⌨️ Create Users API
  16. 16 ⌨️ Setup Custom Provider

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.