Get the customization template for an OIDC subject claim for a repository
Gets the customization template for an OpenID Connect (OIDC) subject claim.
OAuth tokens and personal access tokens (classic) need the repo scope to use this endpoint.
Parameters
Section titled “ Parameters ”Path Parameters
Section titled “ Path Parameters ”The account owner of the repository. The name is not case sensitive.
The name of the repository without the .git extension. The name is not case sensitive.
Responses
Section titled “ Responses ”Status response
Actions OIDC subject customization for a repository
object
Whether to use the default template or not. If true, the include_claim_keys field is ignored.
Array of unique strings. Each claim key can only contain alphanumeric characters and underscores.
Whether the repository has opted in to the immutable OIDC subject claim format. When true, OIDC tokens will use a stable, repository-ID-based sub claim. If not set at the repository level, falls back to the organization-level setting.
The current sub claim prefix for this repository.
Examples
{ "use_default": false, "include_claim_keys": [ "repo", "context" ]}Bad Request
Basic Error
object
Example generated
{ "message": "example", "documentation_url": "example", "url": "example", "status": "example"}Scim Error
object
Example generated
{ "message": "example", "documentation_url": "example", "detail": "example", "status": 1, "scimType": "example", "schemas": [ "example" ]}Resource not found
Basic Error
object
Example generated
{ "message": "example", "documentation_url": "example", "url": "example", "status": "example"}