This is a basic example of how to implement OAT authentification with AdonisJS v6. It includes a simple user model and a basic authentification controller.
- Register a new user
- Login a user
- Logout the current user
- Get user details
- Clone the repository
git clone git@github.com:MaximeMRF/adonisjs-oat-auth-tutorial.git
- Install the dependencies
npm install
- Create a new .env file
cp .env.example .env
- Start the server
node ace serve