Custom OIDC Providers

POST /api/v1/custom-oidc

Configure a new OIDC provider for the current organization

Request

  • Base URL
    https://app.distr.sh (the document declares no server; this is the origin it was published from)
  • URL
    https://app.distr.sh/api/v1/custom-oidc
  • Auth
    • API key in header Authorization
    • or HTTP bearer

Request body

allowedEmailDomainsstring[]
clientIdstring
clientSecretstring nullable
createUnknownUsersboolean
customDomainIdstring
customerOrganizationIdstring nullable
defaultUserRolestring
enabledboolean
issuerstring
namestring
pkceEnabledboolean nullable
scopesstring[]
slugstring
spInitiatedboolean

Response

OK

allowedEmailDomainsstring[]
callbackUrlstring
clientIdstring
clientSecretSetboolean
createUnknownUsersboolean
createdAtstring date-time
customDomainIdstring
defaultUserRolestring
enabledboolean
idstring
issuerstring
namestring
pkceEnabledboolean nullable
scopesstring[]
slugstring
spInitiatedboolean
updatedAtstring date-time

Changes

No recorded changes to this operation across all 1 revision of this API.