gcp provider.
Provider Settings
Required Claims
The mapping must pinsub with the numeric unique id of the service account. Do not use the email of the service account. To find the unique id, run:
Get the Token
Cloud Run, Compute Engine, and GKE with Workload Identity have a metadata server. Thegcp() helper requests the token from it with the Dodo Payments audience. To get the token yourself:
SDK Usage
DODO_PAYMENTS_IDENTITY_PROVIDER_ID on the Cloud Run service or the instance: