Hypermedia
Auth Setup
At the end of this guide, you will have your AdonisJS application configured and ready to use all Auth components.
This guide walks you through the foundational setup required before using any Auth components. You will install the necessary packages, create database migrations for email verification and password reset tokens, and configure your User model with helper mixins.
The setup includes:
- Mail delivery for transactional emails
- Rate limiting for form submissions
- Dual-email system for safe email changes
- User model mixins for email and password management
- Middleware to protect routes from unverified accounts