Google Sheets

Google OAuth callback for the Google Sheets integration

GET
/api/google-sheets/oauth/google/callback

Public endpoint (no authMiddleware) that completes the Google OAuth flow for the Google Sheets scraper service. The relay proxies the upstream response - when the upstream returns a 3xx with a Location header, the relay forwards that redirect (typically back to the application UI). JSON or text bodies are forwarded with the upstream status.

Query Parameters

code?string

OAuth authorization code returned by Google

state?string

Opaque state token forwarded back to the OAuth caller

scope?string
error?string

Set when the user denies the OAuth consent or the provider rejects the request

Response Body

application/json

curl -X GET "https://example.com/api/google-sheets/oauth/google/callback"
{  "status": "success"}