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 |
Returns an access token and user information on successful authentication.
Note: The access token should be included in theSecurity:Authorization
header asBearer <token>
for subsequent requests.
This endpoint requires no authentication.
Authentication
This endpoint requires authentication. Include your bearer token in the Authorization header.Request Body
Request Schema
Field | Type | Required | Description |
---|---|---|---|
email | string | β | The email of the user |
password | string | β | The password associated with the username |
loginToken | string | β | loginToken allows user to signin without using password |
Responses
β 200 - Success With LoginLink
β οΈ 401 - Unauthorized
β οΈ 404 - Not Found
β 500 - Internal Server Error
Tags
Auth
Authorizations
JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"
Body
application/json