Skip to content

Commit 376f7cb

Browse files
authored
fix(auth): add genericOAuth providers to trustedProviders (#2937)
1 parent 42159c2 commit 376f7cb

File tree

1 file changed

+26
-3
lines changed

1 file changed

+26
-3
lines changed

apps/sim/lib/auth/auth.ts

Lines changed: 26 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,6 @@ export const auth = betterAuth({
400400
enabled: true,
401401
allowDifferentEmails: true,
402402
trustedProviders: [
403-
// Standard OAuth providers
404403
'google',
405404
'github',
406405
'email-password',
@@ -416,8 +415,32 @@ export const auth = betterAuth({
416415
'hubspot',
417416
'linkedin',
418417
'spotify',
419-
420-
// Common SSO provider patterns
418+
'google-email',
419+
'google-calendar',
420+
'google-drive',
421+
'google-docs',
422+
'google-sheets',
423+
'google-forms',
424+
'google-vault',
425+
'google-groups',
426+
'vertex-ai',
427+
'github-repo',
428+
'microsoft-teams',
429+
'microsoft-excel',
430+
'microsoft-planner',
431+
'outlook',
432+
'onedrive',
433+
'sharepoint',
434+
'jira',
435+
'airtable',
436+
'dropbox',
437+
'salesforce',
438+
'wealthbox',
439+
'zoom',
440+
'wordpress',
441+
'linear',
442+
'shopify',
443+
'trello',
421444
...SSO_TRUSTED_PROVIDERS,
422445
],
423446
},

0 commit comments

Comments
 (0)