From b969c37e3946bec6722bc4bb8ab962c8327326bc Mon Sep 17 00:00:00 2001 From: Waleed Latif Date: Sun, 30 Mar 2025 00:27:43 -0700 Subject: [PATCH] fix: update gmail oauth scope description --- .../credential-selector/components/oauth-required-modal.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/sim/app/w/[id]/components/workflow-block/components/sub-block/components/credential-selector/components/oauth-required-modal.tsx b/sim/app/w/[id]/components/workflow-block/components/sub-block/components/credential-selector/components/oauth-required-modal.tsx index 1d8c763248..1cc28e6884 100644 --- a/sim/app/w/[id]/components/workflow-block/components/sub-block/components/credential-selector/components/oauth-required-modal.tsx +++ b/sim/app/w/[id]/components/workflow-block/components/sub-block/components/credential-selector/components/oauth-required-modal.tsx @@ -35,6 +35,7 @@ export interface OAuthRequiredModalProps { // Map of OAuth scopes to user-friendly descriptions const SCOPE_DESCRIPTIONS: Record = { 'https://www.googleapis.com/auth/gmail.send': 'Send emails on your behalf', + 'https://www.googleapis.com/auth/gmail.labels': 'View and manage your email labels', // 'https://www.googleapis.com/auth/gmail.readonly': 'View and read your email messages', // 'https://www.googleapis.com/auth/drive': 'View and manage your Google Drive files', 'https://www.googleapis.com/auth/drive.file': 'View and manage your Google Drive files',