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

Body

application/json
idToken
string
required

Google OAuth ID token

Example:

"eyJhbGciOiJSUzI1NiIsImtpZCI6IjJkOWE..."

Response

Successfully authenticated user

accessToken
string

JWT access token for authenticated requests

Example:

"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."

refreshToken
string

Token used to obtain new access tokens

Example:

"a7b3c4d5e6f7g8h9i0j1k2l3m4n5o6p7"

validForSeconds
integer

Number of seconds the access token is valid

Example:

3600