Create or Inspect a Pages Router Project

If you already have a Next.js Pages Router app, use it. Otherwise create a project and choose the Pages Router when prompted.

Create a project
npx create-next-app@latest nextauth-demo
cd nextauth-demo
💡 Choose the Pages Router if prompted.