Skip to content

Commit b40d293

Browse files
committed
optional-force-google-auth
1 parent cc59970 commit b40d293

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

apps/server/src/lib/auth-providers.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ export const authProviders = (env: Record<string, string>): ProviderConfig[] =>
3636
{ name: 'GOOGLE_CLIENT_SECRET', source: 'Google Cloud Console' },
3737
],
3838
config: {
39+
prompt: env.FORCE_GOOGLE_AUTH ? 'consent' : undefined,
3940
accessType: 'offline',
4041
scope: [
4142
'https://www.googleapis.com/auth/gmail.modify',

0 commit comments

Comments
 (0)