Complete consumer social sign-in (form POST)
POST /api/v1/consumer-auth/social/{provider}/callback
Form-post variant of the social callback, used by providers such as Apple. It has the same state validation and exchange-code redirect behavior as the GET callback.
This operation needs no authentication.
Parameters
providerstring path requiredOne of:"google","apple"
Request body (optional)
application/x-www-form-urlencoded object
codestringerrorstringerror_descriptionstringstatestring
Generated sample
{
"code": "string",
"error": "string",
"error_description": "string",
"state": "string"
}Responses
302 Redirect to the builder return URL with cloak_exchange, or a safe failure reason
400 invalid_state
application/json GenericError
erroranyOne of
- string
- object
Any keys are accepted.
error_codestringcodestringmessagestringdetailstringstatusanyOne of
- string
- integer
errorsobjectAny keys are accepted.
404 unknown_provider
application/json GenericError
erroranyOne of
- string
- object
Any keys are accepted.
error_codestringcodestringmessagestringdetailstringstatusanyOne of
- string
- integer
errorsobjectAny keys are accepted.
429 Rate limit exceeded
application/json GenericError
erroranyOne of
- string
- object
Any keys are accepted.
error_codestringcodestringmessagestringdetailstringstatusanyOne of
- string
- integer
errorsobjectAny keys are accepted.
text/html string
501 social_not_configured
application/json GenericError
erroranyOne of
- string
- object
Any keys are accepted.
error_codestringcodestringmessagestringdetailstringstatusanyOne of
- string
- integer
errorsobjectAny keys are accepted.
503 consumer_auth_disabled
application/json GenericError
erroranyOne of
- string
- object
Any keys are accepted.
error_codestringcodestringmessagestringdetailstringstatusanyOne of
- string
- integer
errorsobjectAny keys are accepted.