cURL
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 }
Authenticates a user using a Google ID token. Returns access and refresh tokens upon successful login.
Google-issued ID token.
"eyJhbGciOiJSUzI1NiIsImtpZCI6Ijk2MjM..."
Successfully authenticated.
The JWT access token.
"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."
A long-lived refresh token.
"dGhpc19pc19hX3JlZnJlc2hfdG9rZW4"
Duration (in seconds) that the access token is valid for.
3600