Learn the foundations of session based authentication through cookies in the Next.js App Router, and how community libraries like Auth.js build on top of this model. Auth is a deep topic, so let me know what else you want to see here!
◆ Basic: https://github.com/balazsorban44/auth-poc-next
◆ NextAuth: https://github.com/vercel/next.js/tree/canary/examples/auth
◆ Docs: https://nextjs.org/docs/app/building-your-application/authentication