Exchange Sso Code — POST /api/v1/sso/exchange
Exchange Sso Code
The tokens for an SSO sign-in the ACS completed, for its one-time code.
Endpoint: POST /api/v1/sso/exchange
Authentication: No access token or API key is needed.
Parameters
Section titled “Parameters”This endpoint takes no parameters.
Request body
Section titled “Request body”| Content type | Body | Required |
|---|---|---|
application/json | SSOExchangeRequest | yes |
Responses
Section titled “Responses”| Status | Meaning | Body |
|---|---|---|
200 | Successful Response | SSOLoginResponse (application/json) |
422 | Validation Error | HTTPValidationError (application/json) |
Errors this endpoint returns, read from its source code:
400, with the message “This sign-in link has expired or was already used. Sign in again”404, with the message “SSO is not enabled”
Statuses not listed here are explained in Errors and retries.
More details
Section titled “More details”- Group: SSO / SAML
- Operation ID:
exchange_sso_code_api_v1_sso_exchange_post - Source code:
backend/app/routers/sso.py, line 558 - Specification: OpenAPI JSON