provider oidc POST /enterprises/{enterprise}/actions/oidc/customization/properties/repo
@utdk/github /enterprises/{enterprise}/actions/oidc/customization/properties/repo
Create an OIDC custom property inclusion for an enterprise
Adds a repository custom property to be included in the OIDC token for repository actions in an enterprise. OAuth app tokens and personal access tokens (classic) need the `admin:enterprise` scope to use this endpoint.
enterprise path required
The slug version of the enterprise name.
string

Try it

Authentication
Configure credentials for GitHub v3 REST API
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.

Saved automatically to browser storage.

oidc.createOidcCustomPropertyInclusionForEnterprise
POST/enterprises/{enterprise}/actions/oidc/customization/properties/repo
Adds a repository custom property to be included in the OIDC token for repository actions in an enterprise. OAuth app tokens and personal access tokens (classic) need the `admin:enterprise` scope to use this endpoint.

Parameters

required

The slug version of the enterprise name.

Input

required

The name of the custom property to include in the OIDC token

Enter a gateway URL above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import github from '@utdk/github';

await github.oidc.createOidcCustomPropertyInclusionForEnterprise()