The authentication endpoints live underDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/Ajith66310/task-manager-full/llms.txt
Use this file to discover all available pages before exploring further.
/api/auth and are routed to the user service. Three endpoints — signup, login, and reset-password — are public and do not require a token. Only GET /api/auth/me requires a valid JWT in the Authorization header.
Sign up
POST /api/auth/signup
Creates a new user account and returns a JWT. New accounts are created in an unverified state; an admin must verify the account before the user can access task endpoints.
Body parameters
Valid email address. Must be unique — returns
409 if already registered.Account password. Stored as a bcrypt hash.
Display name for the account. Between 2 and 50 characters.
Example
Log in
POST /api/auth/login
Authenticates an existing user and returns a JWT.
Body parameters
The registered email address.
The account password.
Example
Get current user
GET /api/auth/me
Returns the profile of the authenticated user. Requires a valid JWT.
Headers
Bearer <token> — JWT obtained from login or signup.Example
Reset password
POST /api/auth/reset-password
Resets a user’s password by email. This endpoint is public — no authentication token is required.
Body parameters
The email address of the account to reset.
The new password. Minimum 6 characters.
Must match
newPassword exactly.