Skip to content

Get User Auth Token

Yongsung Heo edited this page Apr 19, 2019 · 3 revisions

Get User Auth Token

Request user authentication token used for calling server APIs. If user is registered and valid user, server will return the Bearer authentication token.

  • URL : /api/v1/auth/login
  • Method : POST

Request Header

No header is required.

Request Body Parameters

Name Type Description
email string required. Email which is registered in server.
passwordHash string required.

Response Body

Name Type Description
token string essential. Viaggio authentication token.
AWS_IdentityId string essential.
AWS_Token string essential.

Examples

POST /api/v1/auth/login

{
    "token": "VIAGGIO_AUTH_TOKEN_STRING",
    "AWS_IdentityId": "DIFFICULT_STRING",
    "AWS_Token": "DIFFICULT_STRING"
}

Clone this wiki locally