Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
NextAuth v5 - The Complete Guide to authentication
Rating: 4.3 out of 5(15 ratings)
95 students
Created bySandeep Arneja
Last updated 1/2024
English

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

Course content

9 sections9 lectures1h 56m total length
  • Getting Started4:57

    For your reference you can download and use the project folder.

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 NextJs


We 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!

Who this course is for:

  • 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.