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: [email protected] password: 123456
User -> email: [email protected] password: 123456