cURL
curl --request POST \ --url https://auth.platform.arb.inc/authenticate/service-account \ --header 'Content-Type: application/json' \ --data ' { "id_token": "eyJhbGciOiJSUzI1NiIsImtpZCI6IjJkOWE..." } '
{ "access_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...", "valid_for_seconds": 3600 }
Authenticates a service account using a GCP service account ID token, returning an access token with embedded role information for service-to-service communication.
GCP service account ID token
"eyJhbGciOiJSUzI1NiIsImtpZCI6IjJkOWE..."
Successfully authenticated service account
JWT access token for authenticated service requests
"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."
Number of seconds the access token is valid
3600