Set IdP initiated auth config

PUT /api/sso-connectors/{id}/idp-initiated-auth-config

Set IdP initiated authentication config for a given SAML SSO connector. Any existing IdP initiated auth config will be overwritten.

Path parameters

  • id string Required

    The unique identifier of the sso connector.

application/json

Body object Required

One of:

Responses

PUT /api/sso-connectors/{id}/idp-initiated-auth-config
curl \
 -X PUT https://[tenant_id].logto.app/api/sso-connectors/{id}/idp-initiated-auth-config \
 -H "Authorization: Bearer $ACCESS_TOKEN" \
 -H "Content-Type: application/json" \
 -d '{"defaultApplicationId":"string","clientIdpInitiatedAuthCallbackUri":"string","autoSendAuthorizationRequest":true}'
Request examples
{
  "defaultApplicationId": "string",
  "clientIdpInitiatedAuthCallbackUri": "string",
  "autoSendAuthorizationRequest": true
}
{
  "defaultApplicationId": "string",
  "redirectUri": "string",
  "authParameters": {
    "scope": "string"
  },
  "autoSendAuthorizationRequest": true
}
Response examples (200)
{
  "tenantId": "string",
  "connectorId": "string",
  "defaultApplicationId": "string",
  "redirectUri": "string",
  "authParameters": {
    "scope": "string"
  },
  "autoSendAuthorizationRequest": true,
  "clientIdpInitiatedAuthCallbackUri": "string",
  "createdAt": 42.0
}