gitlab provider.
Provider Settings
Required Claims
The mapping must pinnamespace_id or project_id with an exact numeric value.
namespace_path, project_path, ref_type, pipeline_source, environment, and sub.
Job Configuration
Define an ID token with the Dodo Payments audience in.gitlab-ci.yml. GitLab sets it as an environment variable of the job.
gitlab() helper reads DODO_PAYMENTS_ID_TOKEN. If you use a different variable name, give the name to the helper.
Each job gets one ID token, and the token can do one exchange. A job that runs longer than the Dodo token lifetime cannot refresh with the same ID token.