From babe333c0ea4faa884bcf6fddc0bda556c626c84 Mon Sep 17 00:00:00 2001 From: Baptiste Arnaud Date: Tue, 12 May 2026 16:55:21 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Add=20trigger=5Fonepick=20OAuth?= =?UTF-8?q?=20param=20for=20Google=20Sheets=20picker=20(#2487)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Add `trigger_onepick=true` parameter to the Google Sheets OAuth consent URL, required by Google for the `drive.file` scope since the April 21, 2026 enforcement; without it the picker iframe returns 401. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 4.7 (1M context) --- .../blocks/integrations/googleSheets/api/handleGetConsentUrl.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/builder/src/features/blocks/integrations/googleSheets/api/handleGetConsentUrl.ts b/apps/builder/src/features/blocks/integrations/googleSheets/api/handleGetConsentUrl.ts index 32ab5b61c..f71a27d48 100644 --- a/apps/builder/src/features/blocks/integrations/googleSheets/api/handleGetConsentUrl.ts +++ b/apps/builder/src/features/blocks/integrations/googleSheets/api/handleGetConsentUrl.ts @@ -29,6 +29,7 @@ export const handleGetConsentUrl = async ({ access_type: "offline", scope: googleSheetsScopes, prompt: "consent", + trigger_onepick: "true", state: Buffer.from(JSON.stringify(input)).toString("base64"), }); return {