SSO connectors

Create SSO connector

Create an new SSO connector instance for a given provider.

post/api/sso-connectors

Request

  • Base URL: https://[tenant_id].logto.app
  • URL: https://[tenant_id].logto.app/api/sso-connectors
  • Auth: OAuth 2 (client credentials, token URL /oidc/token, scopes: all)

Request body

configobject

arbitrary

domainsstring[]
syncProfileboolean
enableTokenStorageboolean
providerNamestring required
connectorNamestring required

Response

The created SSO connector.

tenantIdstring required
idstring required
providerNamestring required
connectorNamestring required
configobject required

arbitrary

domainsstring[] required
syncProfileboolean required
enableTokenStorageboolean required
createdAtnumber required

Changes

No recorded changes to this operation across all 8 revisions of this API.