Skip to content

SsoExchangeRequest

Redeems the one-time code a sign-in with an identity provider came back with. The code works once, for a couple of minutes, and only with the verifier whose challenge the sign-in was started with.

Kind: an object, used in requests.

FieldTypeRequiredDescription
codestringyesThe code the sign-in came back with. Constraints: maxLength: 256, required (empty or whitespace-only strings are rejected).
codeVerifierstringyesThe random verifier (43 to 128 characters of A-Z a-z 0-9 - . _ ~) whose SHA-256, base64url-encoded without padding, was the sign-in’s codeChallenge. Constraints: maxLength: 128, required (empty or whitespace-only strings are rejected).
{
"code": "...",
"codeVerifier": "..."
}