Complete consumer social sign-in
GET /api/v1/consumer-auth/social/{provider}/callback
Handles the Google GET or Apple-compatible callback, validates state, and redirects to the allowlisted builder return URL with a single-use exchange code. The bearer token is never placed in the URL.
This operation needs no authentication.
Parameters
providerstring path requiredOne of:"google","apple"codestring queryProvider authorization code.
statestring queryOpaque state issued by the redirect endpoint.
errorstring queryProvider-side denial/error, when present.
error_descriptionstring query
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.