Log into the account using Google

Returns an access token and the refresh token.

POST/v3/accounts/login-google

Parameters

NameTypeInDescription
originstringheader
user-Agentstringheader

Request Body Schema

PropertyTypeDescriptionConstraints
accountAliasstringUnique account alias.min: 0, max: 256
email*stringEmail address of the user.min: 1, max: 256, format: email
idToken*stringGoogle id token of the user.min: 8, max: 2048

Request Example

{
  "accountAlias": "string",
  "email": "user@example.com",
  "idToken": "stringst"
}

Responses

200 OK
{
  "accessToken": "string",
  "refreshToken": "string"
}