Login User

POST /authentications

Login the registered user to get tokens.

Headers
Content-Type: application/json
Body
{
  "username": "string",
  "password": "string"
}

Response

201 Created
Response Body
{
  "status": "success",
  "data": {
    "accessToken": "jwt.token.example",
    "refreshToken": "jwt.token.example"
  }
}