Nextauth V5 - The Complete Guide To Authentication

Posted By: ELK1nG

Nextauth V5 - The Complete Guide To Authentication
Published 1/2024
MP4 | Video: h264, 1920x1080 | Audio: AAC, 44.1 KHz
Language: English | Size: 1.02 GB | Duration: 1h 56m

Learn NextAuth v5 aka AuthJs and get complete understanding of how to do Authentication in web apps like Next js v14

What you'll learn

Learn how to setup NextAuth js in a Next js App

Learn how to use a number of OAuth providers like Google, Github, Zoom etc. to Authenticate Users

Learn how to use email as a way to authenticate users

Get a deeper understanding of how sessions work and how to put custom data in them

Learn how to use middleware in Next js to apply authentication

Design a multi user system where multiple users belong to an organization and see the same data

Design a custom backdoor page to your Next js application so you can log in and impersonate as any user

Requirements

ReactJS knowledge is recommended

Familiarity with Next js will be helpful, but is not required

NO Prior NextAuth js knowledge is required

Description

Welcome to the complete soups to nuts comprehensive NextAuth  course! I'm Sandeep, a seasoned software developer and together, we will delve into the ins and outs of user authentication while using the latest version, version 5 of NextAuth  and latest version v14 of NextJsWe kick off by exploring how to establish OAuth flow for your application. Learn how to seamlessly integrate authentication from various providers such as Google, Github, Zoom, and more.Next, we'll dive into the world of passwordless email authentication. Here we will be able to send user an email by using providers like Mailgun, sangria etc. and log them right in.We will then setup custom username-password authentication system tailored to your specific needs.From there we will move to configuring database adapters to persist all user information in your chosen database.Next we will dive in to session management using JSON Web Tokens (JWT), and learn how to enhance them by putting custom information within the session.While working on NextAuth we will also be learning how to intergrate it into  NextJs v14 which utilizes the "app" structure. We will learn how to build public and protected routes, implementing authentication in the API layer, and creating a backdoor access for user impersonation.I invite you to embark on this learning journey with me. Try out the course, and I look forward to engaging with you in our course chat.Thank you for joining, and let's dive into the world of NextAuth together!

Overview

Section 1: Getting Started

Lecture 1 Getting Started

Section 2: Protecting Information

Lecture 2 Protecting Information

Section 3: More OAuth

Lecture 3 More OAuth

Section 4: Database Adatper

Lecture 4 Database Adapter

Section 5: Email Provider

Lecture 5 Email Provider

Section 6: Custom Credentials

Lecture 6 Custom Credentials

Section 7: Multi-User / Organization Modal

Lecture 7 Multi-User / Organization Modal

Section 8: Backdoor page

Lecture 8 Backdoor page

Section 9: Wrap up

Lecture 9 Wrap up

React & Next js developers who want to learn how to add Authentication to their app,React & Next js developers looking to learn NextAuth js,Web developers in general who want to learn authentication & authorization.