mirror of
https://github.com/baptisteArno/typebot.io.git
synced 2026-06-05 21:04:43 +08:00
🐛 Add trigger_onepick OAuth param for Google Sheets picker (#2487)
- 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) <noreply@anthropic.com>
This commit is contained in:
parent
8e67415766
commit
babe333c0e
@ -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 {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user