fix(auth): add genericOAuth providers to trustedProviders (#2937)

This commit is contained in:
Waleed
2026-01-21 22:44:30 -08:00
committed by GitHub
parent 42159c23b9
commit 376f7cb571

View File

@@ -400,7 +400,6 @@ export const auth = betterAuth({
enabled: true,
allowDifferentEmails: true,
trustedProviders: [
// Standard OAuth providers
'google',
'github',
'email-password',
@@ -416,8 +415,32 @@ export const auth = betterAuth({
'hubspot',
'linkedin',
'spotify',
// Common SSO provider patterns
'google-email',
'google-calendar',
'google-drive',
'google-docs',
'google-sheets',
'google-forms',
'google-vault',
'google-groups',
'vertex-ai',
'github-repo',
'microsoft-teams',
'microsoft-excel',
'microsoft-planner',
'outlook',
'onedrive',
'sharepoint',
'jira',
'airtable',
'dropbox',
'salesforce',
'wealthbox',
'zoom',
'wordpress',
'linear',
'shopify',
'trello',
...SSO_TRUSTED_PROVIDERS,
],
},