ZITADEL Docs
APIsCore ResourcesV1Organization Objects

AddGitHubProvider

Add a new GitHub identity provider in the organization

POST
/idps/github

Request Body

application/json

name?string

GitHub will be used as default, if no name is provided

clientId?string
clientSecret?string
scopes?array<>
providerOptions?
[key: string]?never

Response Body

application/json

curl -X POST "https://loading/idps/github" \  -H "Content-Type: application/json" \  -d '{}'
{
  "details": {
    "sequence": 0,
    "creationDate": "2023-01-15T01:30:15.01Z",
    "changeDate": "2023-01-15T01:30:15.01Z",
    "resourceOwner": "string"
  },
  "id": "string"
}

Was this page helpful?