Documentation Index
Fetch the complete documentation index at: https://mintlify.com/Arvo-AI/aurora/llms.txt
Use this file to discover all available pages before exploring further.
Endpoint
Request Body
User’s email address
User’s password (minimum 8 characters)
Response
User’s unique database ID
User’s email address
User’s display name (may be null)
Example Request
cURL
JavaScript
Python
Example Response
Security Notes
Timing Attack Prevention
The login endpoint implements protection against timing attacks:- Password verification always runs, even if the user doesn’t exist
- A dummy bcrypt hash is used when the user is not found
- This ensures consistent response times regardless of whether the user exists
Password Verification
- Passwords are verified using bcrypt’s secure comparison
- Original password is never stored or logged
- Only the bcrypt hash is stored in the database
Error Handling
| Status Code | Description |
|---|---|
| 200 | Authentication successful |
| 400 | Invalid request body or missing required fields |
| 401 | Invalid email or password |
| 500 | Internal server error |
Frontend Integration
The frontend uses Auth.js (NextAuth.js) for authentication:Related Endpoints
Register
Create a new user account
Change Password
Update user password