Next.js Tutorial #40 || Introduction to the NextAuth.js : Get Started with Secure Authentication

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
In today's video, I am going to talk about the another topic of Next.js 13 Which is about NextAuth.js So, What is Next Auth? What we need to watch before learn Next Auth? Firstly, you need to watch dynamic routing and Catch all segment, which is in Tutorial 9. Secondly, Route Handlers You need to learn route handlers or you need to know how to create api in Next.js 13 Which is in Tutorial 16 and we have another thing which is connecting firebase to Next.js 13 and how to create CRUD app using firebase and Nextjs route handlers And another thing is and middleware is in our tutorial 18 and firebase is in 17. But you have to watch all our videos of Next.js to understand step by step Next.js So, let's learn in shortcut that what is NextAuth.js Next Auth helps to make authentication so easily It also support OAuth Service. Our popular signing services like Google Sign In, Facebook Sign-In, GitHub Sign-In Email and Password Sign-In, It supports most of the sign-In It supports any backend As per this, It supports both JSON web tokens or JWT and database sessions and It is designed for serverless system but it also supports in server like AWS Lambda, Docker, Heruko, etc. So how to install Next Auth? So it is quite simple, you just have to type npm install next-auth or yarn add next-auth in the terminal in your project Or you can use pnpm, and type pnpm add next-auth So, lets make our Next-Auth app So we already made 3 projects till now. I make another project here So in above, type cmd and hit enter Here is my command prompt You can also use powershell if you are using windows So lets make project now I give name of the project, next-auth =-4 So, it asks whether I want to use typescript of not if you want to use typeScript then enter yes otherwise enter No Woult you like to use ESLint?
Info
Channel: Prashant Ad.
Views: 302
Rating: undefined out of 5
Keywords:
Id: 14vPH1ztALw
Channel Id: undefined
Length: 18min 24sec (1104 seconds)
Published: Tue Sep 12 2023
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.