Set 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
-
The unique identifier of the sso connector.
Body object Required
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
Object-1
{
"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
}