Skip to main content
POST
/
authenticate
/
google
Authenticate with Google ID Token
curl --request POST \
  --url https://auth.platform.arb.inc/authenticate/google \
  --header 'Content-Type: application/json' \
  --data '
{
  "idToken": "eyJhbGciOiJSUzI1NiIsImtpZCI6Ijk2MjM..."
}
'
{
  "accessToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
  "refreshToken": "dGhpc19pc19hX3JlZnJlc2hfdG9rZW4",
  "validForSeconds": 3600
}

Body

application/json
idToken
string
required

Google-issued ID token.

Example:

"eyJhbGciOiJSUzI1NiIsImtpZCI6Ijk2MjM..."

Response

Successfully authenticated.

accessToken
string

The JWT access token.

Example:

"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."

refreshToken
string

A long-lived refresh token.

Example:

"dGhpc19pc19hX3JlZnJlc2hfdG9rZW4"

validForSeconds
integer

Duration (in seconds) that the access token is valid for.

Example:

3600