Login with a link or code
POST
/auth/passwordless/login
3.0.0, AUTH_PASSWORDLESS: logs in with the token of the link, or the address and the code (5 attempts, then the code ends; failed codes count for RATE_LIMIT_LOGIN). The address counts as verified. 400 (code 4403) for a used, expired, unknown or wrong one.
Request Body
application/json
JSON "token": "string", "email": "string", "code": "string"
{
}
Responses
application/json
JSON "authToken": "string", "userProfile": { "user": "string", "isAdmin": true, "apiKey": "string", "roles": [ "string" ], "grants": [ { "name": "string", "read": true, "write": true, "administrate": true, "grantType": "COLLECTION" } ], "email": "string", "emailVerified": true, "displayName": "string", "identities": [ { "provider": "string", "subject": "string", "email": "string" } ], "disabled": true, "lastLoginAt": "2024-01-01T00:00:00Z", "mfaEnabled": true }, "expirationDate": "2024-01-01T00:00:00Z", "refreshToken": "string", "refreshExpirationDate": "2024-01-01T00:00:00Z", "sessionId": "string"
{
}
