Create enterprise SSO verification

POST /api/experience/verification/sso/{connectorId}/authorization-uri

Create a new EnterpriseSSO verification record and return the provider's authorization URI for the given connector.

Path parameters

  • connectorId string Required

    The unique identifier of the connector.

application/json

Body Required

  • state string Required

    The state parameter to pass to the SSO connector.

  • redirectUri string Required

    The URI to redirect the user after the SSO authorization is completed.

Responses

  • 200 application/json

    The SSO authorization URI has been successfully generated.

    Hide response attributes Show response attributes object
    • authorizationUri string Required

      The SSO authorization URI.

    • verificationId string Required

      The unique verification ID of the newly created EnterpriseSSO verification record. The verificationId is required when verifying the SSO authorization response.

  • Bad Request

  • The SSO connector is not found.

  • Connector error. Failed to generate the SSO authorization URI.

POST /api/experience/verification/sso/{connectorId}/authorization-uri
curl \
 -X POST https://[tenant_id].logto.app/api/experience/verification/sso/{connectorId}/authorization-uri \
 -H "Content-Type: application/json" \
 -d '{"state":"string","redirectUri":"string"}'
Request examples
{
  "state": "string",
  "redirectUri": "string"
}
Response examples (200)
{
  "authorizationUri": "string",
  "verificationId": "string"
}