Generate a social provider OAuth URL
Returns the provider authorization URL the client should redirect the user to. Currently only GOOGLE is accepted. The signed state is stored server-side and must be echoed back to /auth/social/verify.
Headers
HMAC-SHA256 signature: HMAC-SHA256(secretKey, timestamp + METHOD + path + body). Optional -- when omitted, HMAC verification is skipped.
Request timestamp in epoch milliseconds. Required when x-signature is provided. Rejected if drift exceeds 5 minutes.
Body
OpenAPI schema McpAuthWithSocialBodyDto. Subset of GraphQL AuthWithSocialInput restricted to Google.
Social provider. Only GOOGLE is currently exposed on the MCP REST API.
GOOGLE, FACEBOOK, APPLE, TWITTER, DISCORD, TELEGRAM "GOOGLE"
Device fingerprint / visitor id.
"fp_browser_abc123"
Frontend path the client wants to land on after OAuth verification.
"/dashboard"
Opt-in to marketing offers / communications (applied only if this flow creates a new user).
Promo code (new users only).
Username of the referring user (new users only).
User id of the referring user (new users only).
"507f1f77bcf86cd799439011"