Redeem SAML Access Code

Exchange a SAML access code for details about a SAML login.

Request

This endpoint expects an object.
samlAccessCodestringOptional

Response

This endpoint returns an object.
emailstring
The user's email.
statestring
Arbitrary data included in the corresponding GetSAMLRedirectURL request.
attributesmap from strings to strings

Key-value attributes included by the identity provider.

organizationIdstring
The organization this user belongs to.
organizationExternalIdstring
The external ID of the organization this user belongs to.
samlFlowIdstring
The SAML flow tracking this SAML login.