POST
/api/public/authorize_oauth/sso/authentication-urlGenerate a third-party SSO authentication URL
Generates a redirect URL for authenticating through a third-party SSO service. Supply the SSO domain and a state value for the authentication request. Use the returned redirectUrl to continue the authentication flow.
- IdempotentThe SDK sends
Idempotency-Key, so a retried request is only applied once.
SSO authentication URL request containing the domain and state value.
domainstringrequired
The domain associated with the SSO provider.
statestringrequired
The state value to include in the authentication request.
200Returns an object containing `redirectUrl`, the URL to use for third-party SSO authentication.
redirectUrlstringrequired
400Returned when the request is invalid, including when a required body field is missing.
codestringrequired
paramsarray<object>optional
401Returned when authentication is missing or invalid.
codestringrequired
paramsarray<object>optional
403Returned when access to the requested operation is forbidden.
codestringrequired
paramsarray<object>optional
404Returned when a requested resource was not found.
codestringrequired
paramsarray<object>optional
Error handling
A 400 indicates an invalid request, and a 401 indicates missing or invalid authentication. A 403 indicates forbidden access, and a 404 indicates that a requested resource was not found. The body must include both domain and state.