This is an example of how to use AuthJS with Next.js.
- Login and Register with credentials
- Login with Google
- Login with Github
- Multi roles (Admin, User)
- Logout
- Clone the repository
- Install the dependencies
- Create a .env file and add the following variables
Admin -> email: admin@gmail.com password: 123456
User -> email: user@gmail.com password: 123456