ZITADEL Docs
APIsCore ResourcesV1Organization Objects

AddGitLabSelfHostedProvider

Add a new self hosted GitLab identity provider in the organization

POST
/idps/gitlab_self_hosted

Request Body

application/json

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

Response Body

application/json

curl -X POST "https://loading/idps/gitlab_self_hosted" \  -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?