Skip to content

Commit 874fa4c

Browse files
Merge pull request #9750 from circleci/new-pipelinedefinitioniud-claim
oidc: new claim oidc.circleci.com/pipeline-definition-id
2 parents 7b33704 + 617e77b commit 874fa4c

File tree

1 file changed

+13
-10
lines changed

1 file changed

+13
-10
lines changed

docs/guides/modules/permissions-authentication/pages/openid-connect-tokens.adoc

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -76,26 +76,29 @@ The OpenID Connect ID tokens also contain some https://openid.net/specs/openid-c
7676
| Additional claims
7777
| Metadata
7878

79-
| `oidc.circleci.com/project-id`
80-
| The ID of the project in which the job is running. Its value is a string containing a UUID identifying the CircleCI project.
79+
| `oidc.circleci.com/context-ids`
80+
| An array of strings containing UUIDs that identify the context(s) used in the job.
81+
82+
| `oidc.circleci.com/org-id`
83+
| The unique identifier for the organization. Its value is a string containing a UUID identifying the CircleCI organization.
84+
85+
| `oidc.circleci.com/pipeline-definition-id`
86+
| The unique identifier for the pipeline definition that created the pipeline running the workflow. The value is a string containing a UUID identifying the CircleCI pipeline definition. Pipeline definitions are found in your project settings under Project Setup.
8187

8288
| `oidc.circleci.com/pipeline-id`
8389
| The unique identifier for the pipeline that triggered this job. Its value is a string containing a UUID identifying the CircleCI pipeline.
8490

85-
| `oidc.circleci.com/org-id`
86-
| The unique identifier for the organization. Its value is a string containing a UUID identifying the CircleCI organization.
91+
| `oidc.circleci.com/project-id`
92+
| The ID of the project in which the job is running. Its value is a string containing a UUID identifying the CircleCI project.
93+
94+
| `oidc.circleci.com/ssh-rerun`
95+
| A boolean indicating if the CI job is started using the SSH rerun feature.
8796

8897
| `oidc.circleci.com/vcs-origin`
8998
| The URL of the repository that triggered the pipeline. Its value is a string similar to `github.com/organization-123/repo-1`. This is not present for pipelines triggered by custom webhooks.
9099

91100
| `oidc.circleci.com/vcs-ref`
92101
| The reference to the change that triggered the pipeline. Its value is a string similar to `refs/heads/main`. This is not present for pipelines triggered by custom webhooks.
93-
94-
| `oidc.circleci.com/context-ids`
95-
| An array of strings containing UUIDs that identify the context(s) used in the job.
96-
97-
| `oidc.circleci.com/ssh-rerun`
98-
| A boolean indicating if the CI job is started using the SSH rerun feature.
99102
|===
100103
--
101104

0 commit comments

Comments
 (0)