Create SSO connector
Create an new SSO connector instance for a given provider.
Body Required
-
config object
arbitrary
Additional properties are allowed.
-
domains array[string]
-
branding object
Additional properties are allowed.
-
syncProfile boolean
-
Minimum length is
1
, maximum length is128
. -
Minimum length is
1
, maximum length is128
.
POST /api/sso-connectors
curl \
-X POST https://[tenant_id].logto.app/api/sso-connectors \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"config":{},"domains":["string"],"branding":{"displayName":"string","logo":"string","darkLogo":"string"},"syncProfile":true,"providerName":"string","connectorName":"string"}'
Request examples
{
"config": {},
"domains": [
"string"
],
"branding": {
"displayName": "string",
"logo": "string",
"darkLogo": "string"
},
"syncProfile": true,
"providerName": "string",
"connectorName": "string"
}
Response examples (200)
{
"tenantId": "string",
"id": "string",
"providerName": "string",
"connectorName": "string",
"config": {},
"domains": [
"string"
],
"branding": {
"displayName": "string",
"logo": "string",
"darkLogo": "string"
},
"syncProfile": true,
"createdAt": 42.0
}