/next-auth-example

Nextjs example with next-auth and custom provider

Primary LanguageTypeScript

Example of Nextjs with Next-Auth

The project is a example of Nextjs using Next-Auth with custom provider and page protected with redirecting

/admin ~> protected
/login ~> redirecting

Getting Started

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.