Users
Log in
Changed onAuthenticate and return a JWT token bundle.
post/auth/login
Request
- Base URL: / (relative, and the document was published on a file host, not at the API’s origin)
- URL: /auth/login
- Auth: none required
Request body
Example request
{
"email": "ada@example.com",
"password": "example-password"
}Response
Successful Response
Example response
{
"access_token": "example-access-token",
"expires_in": 3600,
"must_change_password": false,
"token_type": "bearer"
}Changes
- info
endpoint added
- info
- breaking
api path removed without deprecation
- breaking