This is a Next.js Authentication demo project with next-auth
library.
First, define Environment variables in .env.local file for github login GITHUB_CLIENT_ID & GITHUB_SECRET, and for NextAuth configurations, NEXTAUTH_SECRET, NEXTAUTH_URL and JWT_SECRET_KEY
Then start development server:
npm run dev
# or
yarn dev
# or
pnpm dev
Open http://localhost:3000 with your browser to see the result.