ZITADEL Docs
APIsCore ResourcesV1Instance Objects

AddGoogleProvider

Add a new Google identity provider on the instance

POST
/idps/google

Request Body

application/json

name?string

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

clientId?string
clientSecret?string
scopes?scopes
providerOptions?
[key: string]?never

Response Body

application/json

application/json

curl -X POST "https://loading/idps/google" \  -H "Content-Type: application/json" \  -d '{}'
{
  "details": {
    "sequence": 0,
    "creationDate": "1s",
    "changeDate": "1s",
    "resourceOwner": "string"
  },
  "id": "string"
}
{
  "code": "not_found",
  "message": "string",
  "detail": {
    "type": "string",
    "value": "string",
    "debug": {}
  }
}

Was this page helpful?