Account / Cognito login
Route: /api/sys/v{version:apiVersion}/account/cognito_login
Method: POST
Authorisation: No authentication needed
Response object
Response status: 200 (OK)
Response type: DTO_logged_in_response
Wrapper: DTO_response_wrap
Other response statuses: 400 (BadRequest)
Response body example
DTO_cognito_login
| Name | Type | ReadOnly | Description |
|---|---|---|---|
| String | |||
| password | String | Password | |
| remember_me | Boolean | Remember me |
DTO_logged_in_response
| Name | Type | ReadOnly | Description |
|---|---|---|---|
| challenge_mfa | Boolean | Challenge mfa | |
| action | ENUM logged_in_response_action | Action | |
| info_messages | String[] | Can contain for example "Joined tenant". "Auth method Google added" | |
| warning_messages | String[] | Warning messages | |
| redirect_url | String | Redirect url |
ENUM logged_in_response_action
| Value | Name | Description |
|---|---|---|
| 0 | UNKNOWN | UNKNOWN |
| 1 | REDIRECT | REDIRECT |
| 2 | SELECT_TENANT | SELECT_TENANT |
| 3 | CREATE_TENANT | CREATE_TENANT |
| 4 | CONTINUE_TO_APP | CONTINUE_TO_APP |
| 5 | LOGIN | LOGIN |