GitHub: OIDC schemas
3 GitHub schemas with complete fields and constraints.
← OIDC operations · All schemas
Create an OIDC custom property inclusion for an enterprise — request body — body
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Input for creating an OIDC custom property inclusion |
custom_property_name | string | Required within parent | The name of the custom property to include in the OIDC token |
Create an OIDC custom property inclusion for an enterprise — response body
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | An OIDC custom property inclusion for repository properties |
custom_property_name | string | Required within parent | The name of the custom property that is included in the OIDC token |
inclusion_source | string | Required within parent | Whether the inclusion was defined at the organization or enterprise level Known values: organization, enterprise |
Get the customization template for an OIDC subject claim for an organization — response body
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Actions OIDC Subject customization |
include_claim_keys | array | Required within parent | Array of unique strings. Each claim key can only contain alphanumeric characters and underscores. |
include_claim_keys[] | string | Each item | |
use_immutable_subject | boolean | Optional | Whether to opt in to the immutable OIDC subject claim format for the organization. When `true`, new OIDC tokens will use a stable, repository-ID-based `sub` claim instead of the name-based format. |