diff --git a/services/gmail/pod-gmail/src/gmail/auth.ts b/services/gmail/pod-gmail/src/gmail/auth.ts index 4b70e692ef..a41b76df46 100644 --- a/services/gmail/pod-gmail/src/gmail/auth.ts +++ b/services/gmail/pod-gmail/src/gmail/auth.ts @@ -38,6 +38,7 @@ export class AuthProvider { } const authUrl = this.oAuth2Client.generateAuthUrl({ access_type: 'offline', + prompt: 'consent', scope: ['https://www.googleapis.com/auth/gmail.modify'], state: Buffer.from(JSON.stringify({ workspace, userId, redirectURL })).toString('base64') })