Next.js Tutorials · React Development Tips · Tutorial
Next-Auth login authentication
tutorial with NextJs App directory, React Hook Form, MongoDB, Vercel

Sign-in is one of the first things a Next.js app needs, and NextAuth handles it well: credentials, Google and GitHub logins, and sessions you can read on both the client and the server. In this video, I walk through how I integrate NextAuth into the Next.js app directory, step by step.
I also bring in React Hook Form, MongoDB and Shadcn/UI, so the result is a working sign-in you can build on. You will learn how to:
✨Integrating and Setup NextAuth in the Nextjs app directory
✨Setup Credentials Provider, Google Provider, and Github Provider
✨Get NextAuth Session Data In Client and Server Components
✨Upload the NextJs app in Vercel
✨Use MongoDB Compass and Atlas in the NextJs app
✨ Use React Hot Toast and React Hook Form in NextJs


