diff --git a/packages/integration-platform/src/manifests/gcp/index.ts b/packages/integration-platform/src/manifests/gcp/index.ts index cf594e17d7..0d3441e340 100644 --- a/packages/integration-platform/src/manifests/gcp/index.ts +++ b/packages/integration-platform/src/manifests/gcp/index.ts @@ -34,7 +34,10 @@ export const gcpManifest: IntegrationManifest = { supportsRefreshToken: true, authorizationParams: { access_type: 'offline', - prompt: 'consent', + // select_account forces Google's account chooser so a user can switch + // from a wrong account when connecting/reconnecting; consent keeps the + // consent screen so a refresh token is always issued. + prompt: 'select_account consent', }, setupInstructions: `## Platform Admin: Enable GCP OAuth diff --git a/packages/integration-platform/src/manifests/google-workspace/index.ts b/packages/integration-platform/src/manifests/google-workspace/index.ts index 0adbc65059..88b4d5678a 100644 --- a/packages/integration-platform/src/manifests/google-workspace/index.ts +++ b/packages/integration-platform/src/manifests/google-workspace/index.ts @@ -31,7 +31,10 @@ export const googleWorkspaceManifest: IntegrationManifest = { supportsRefreshToken: true, authorizationParams: { access_type: 'offline', - prompt: 'consent', + // select_account forces Google's account chooser so an admin can switch + // from a wrong (e.g. non-admin) account when connecting/reconnecting; + // consent keeps the consent screen so a refresh token is always issued. + prompt: 'select_account consent', }, setupInstructions: `To enable Google Workspace Admin SDK: 1. Go to Google Cloud Console (console.cloud.google.com)