/auth/login
Description:
The /auth/login
endpoint authenticates a user and returns an access token.
Rate Limiting:
This endpoint is rate limited to 20 requests per 3 minutes per IP address.
Method:
POST
Request Payload:
Parameter | Type | Description | Required |
---|---|---|---|
string | Userās email address | Yes | |
password | string | Userās password | Yes |
rememberMe | boolean | Whether to extend the session duration | No |
Response:
Returns an access token and user information on successful authentication.
Note: The access token should be included in the
Authorization
header asBearer <token>
for subsequent requests.
Security:
This endpoint requires no authentication.
JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"
Success With LoginLink
The response is of type object
.