Skip to Content
Configuration

Save the installation identity provider (OIDC) settings

Checks the provider’s OpenID configuration before saving an enabled provider. Omit `clientSecret` to keep the stored one; send `null` to remove it. Takes effect at once, without a restart.

PUT
/api/settings/single-sign-on

Authorization

headerAuthorizationBearer <Postdot API key>

A user-owned Postdot API key sent as Authorization: Bearer <token>. Its project scope is limited by the creator’s current access.

Request Body

  1. body
issuerUrl*string
Lengthlength <= 2048
clientId*string
Lengthlength <= 512
buttonLabel*string
Lengthlength <= 40
allowAutoCreate*boolean
enabled*boolean
clientSecret?|null

Response Body

Response for status 200

application/json
  1. response
issuerUrl*string
Lengthlength <= 2048
clientId*string
Lengthlength <= 512
buttonLabel*string
Lengthlength <= 40
allowAutoCreate*boolean
enabled*boolean
hasClientSecret*boolean
callbackUrl*string
source*string
Value in"database""deployment""none"
Example Request
curl -X PUT 'https://postdot.example/api/settings/single-sign-on' \
  -H 'Content-Type: application/json' \
  -d '{
  "issuerUrl": "string",
  "clientId": "string",
  "buttonLabel": "string",
  "allowAutoCreate": true,
  "enabled": true
}'
Example Response
{
  "issuerUrl": "string",
  "clientId": "string",
  "buttonLabel": "string",
  "allowAutoCreate": true,
  "enabled": true,
  "hasClientSecret": true,
  "callbackUrl": "string",
  "source": "database"
}

Was this page helpful?