This is an example using NextAuth.js for authentication.
Deploy the example using Vercel:
Execute create-next-app
with npm, Yarn, pnpm, or Bun to bootstrap the example:
npx create-next-app --example auth
yarn create next-app --example auth
pnpm create next-app --example auth
bunx create-next-app --example auth
Deploy it to the cloud with Vercel (Documentation).