Skip to main content
Weavr API
Sign-in

Sign in with password

POST/login_with_password

Authenticate a user with the email and password that they provided when registering.

Given that the user credentials are correct, this returns a token that can then be used to authorise other secured operations. In case the password is expired, a temporary token is returned, which can be used solely for updating the password.

The token returned is valid for 5 minutes from last activity.

Request

Request body

*
application/json
{}
objectobject · 2 fields

Responses

200OK

Success

Headers
Body
application/json
{}
objectobject · 4 fields
Response example
{  "token": "string",  "tokenType": "NO_TYPE",  "identity": {    "type": "CONSUMER",    "id": "123456789"  },  "credentials": {    "type": "USER",    "id": "987654321"  }}