Skip to content

Latest commit

 

History

History
26 lines (16 loc) · 495 Bytes

README.md

File metadata and controls

26 lines (16 loc) · 495 Bytes

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