The project is a example of Nextjs using Next-Auth with custom provider and page protected with redirecting
/admin ~> protected
/login ~> redirecting
First, run the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
Open http://localhost:3000 with your browser to see the result.