curl --request POST \
--url https://mcp.echozero.app/api/auth/social/url \
--header 'Content-Type: application/json' \
--header 'x-signature: <x-signature>' \
--header 'x-timestamp: <x-timestamp>' \
--data '
{
"type": "GOOGLE",
"fingerprint": "fp_browser_abc123"
}
'
{
"success": true,
"data": {
"status": "success",
"url": "<string>",
"errorMessage": "<string>"
}
}{
"success": false,
"error": {
"code": "NOT_FOUND",
"message": "Resource not found"
}
}Auth
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.
POST
/
api
/
auth
/
social
/
url
curl --request POST \
--url https://mcp.echozero.app/api/auth/social/url \
--header 'Content-Type: application/json' \
--header 'x-signature: <x-signature>' \
--header 'x-timestamp: <x-timestamp>' \
--data '
{
"type": "GOOGLE",
"fingerprint": "fp_browser_abc123"
}
'
{
"success": true,
"data": {
"status": "success",
"url": "<string>",
"errorMessage": "<string>"
}
}{
"success": false,
"error": {
"code": "NOT_FOUND",
"message": "Resource not found"
}
}Headers
Body
application/json
OpenAPI schema McpAuthWithSocialBodyDto. Subset of GraphQL AuthWithSocialInput restricted to Google.