Start Google sign-in
GET /api/v1/auth/social/google/redirect
Creates a sign-in state and redirects to Google, or returns an authorization URL when JSON is requested.
This operation needs no authentication.
Parameters
return_tostring (uri) queryAllowlisted portal return URL.
intentstring queryPortal authentication intent.
One of:"signin","signup"jsonboolean queryReturn the authorization URL as JSON when true.
Responses
200 Authorization URL when JSON is requested.
application/json PrivacySocialAuthorize
authorize_urlstring (uri) required
Generated sample
{
"authorize_url": "https://example.com"
}302 Redirect to Google authorization endpoint.
429 The request rate limit was exceeded.
application/json PrivacyError
errorobject requiredcodestringkidstringmessagestringrefstringtypestring
errorsobjectOther keys: array of string
messagestring
text/html string
501 Social sign-in is not configured.
application/json PrivacyError
errorobject requiredcodestringkidstringmessagestringrefstringtypestring
errorsobjectOther keys: array of string
messagestring