Skip to content

Commit 1cd2c2b

Browse files
waleedlatif1claude
andcommitted
fix(google-ads): add userinfo scopes to oauth provider config
Align google-ads with all other Google services by including userinfo.email and userinfo.profile scopes in the centralized OAUTH_PROVIDERS config. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 88cfe0c commit 1cd2c2b

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

apps/sim/lib/oauth/oauth.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,11 @@ export const OAUTH_PROVIDERS: Record<string, OAuthProviderConfig> = {
153153
providerId: 'google-ads',
154154
icon: GoogleAdsIcon,
155155
baseProviderIcon: GoogleIcon,
156-
scopes: ['https://www.googleapis.com/auth/adwords'],
156+
scopes: [
157+
'https://www.googleapis.com/auth/userinfo.email',
158+
'https://www.googleapis.com/auth/userinfo.profile',
159+
'https://www.googleapis.com/auth/adwords',
160+
],
157161
},
158162
'google-bigquery': {
159163
name: 'Google BigQuery',

0 commit comments

Comments
 (0)