Skip to content

AuthJS with Next.js.'Select Branch' to choose your preferred template language: TypeScript or JavaScript

Notifications You must be signed in to change notification settings

Nandaxy/next-authjs-template

Repository files navigation

Next Auth Example

This is an example of how to use AuthJS with Next.js.

Features

  • Login and Register with credentials
  • Login with Google
  • Login with Github
  • Multi roles (Admin, User)
  • Logout

Installation

  1. Clone the repository
  2. Install the dependencies
  3. Create a .env file and add the following variables

Demo

Here

Admin -> email: [email protected] password: 123456

User -> email: [email protected] password: 123456

About

AuthJS with Next.js.'Select Branch' to choose your preferred template language: TypeScript or JavaScript

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages