Nextjs 14 – Authentication: NextAuth, MongoDB, TypeScript

Build Nextjs Authentication with NextAuth Register, Login, Logout, Change Password Validation

Hello , Welcome to the Next JS Authentication course.

What you’ll learn

  • Learn React js next js best practices..
  • Manage login, register, forgot and reset password, sending emails,form validation, protected routes.
  • Create the perfect authentication system 2023.
  • Learn how to send emails using smtp services and nodemailer.
  • Learn how to wrote strong typed code using Typescript.
  • Server side and client side rendering.
  • Fully responsive with TailwindCss.
  • Protect the route of authenticated user..

Course Content

  • Introduction –> 1 lecture • 2min.
  • Installation –> 1 lecture • 5min.
  • Create Project –> 1 lecture • 10min.
  • Create Header –> 1 lecture • 8min.
  • Signup UI –> 1 lecture • 20min.
  • Login UI –> 1 lecture • 3min.
  • Create Database –> 1 lecture • 15min.
  • Signup Backend –> 2 lectures • 34min.
  • Login Backend –> 3 lectures • 43min.
  • Server Side Rendering –> 2 lectures • 13min.
  • Github Provider –> 1 lecture • 26min.

Auto Draft


Hello , Welcome to the Next JS Authentication course.


In this comprehensive course we are building authentication systems with Next.js 14, you will going to learn everything you need to develop secure and scalable authentication for your Next applications.


We will start step by step by covering the fundamentals of Next.js explaining routing and building authentication.


Next, we will build a full authentication system with features like:


• User Login and Registration forms

• Use Credential provider and Github provider.

• Protect all the pages with Credential.

• Integrate Mongodb database in next app and store register user in database.

• Add validation in Signup and Login pages.

• Build fully responsive Register and Login page with TailwindCSS.

• Store Github provider user data in Mongodb.

• learn Client Side and Server Side Rendering.

• Securing routes with Next-Auth session data.

• Use TypeScript to write strong code.


You will learn how to store user data in mongodb and manage user sessions,credential and github provider for login and register user and restrict access to certain pages and APIs based on authentication.


By the end of the course, you’ll have a strong foundation in Next.js and the skills to build robust authentication systems for your own Next applications from scratch. You’ll be able to securely manage user accounts and password, and restrict access to route and functionality.


Who this course is for:

Developer who want to learn Nextjs Authentication

React Developer how want to level up the skill.

Get Tutorial