fix: add prompt select_account for google login (#4415)
This commit is contained in:
@@ -158,6 +158,9 @@ export const NextAuthOptionsProvider: FactoryProvider<NextAuthOptions> = {
|
|||||||
clientSecret: config.auth.oauthProviders.google.clientSecret,
|
clientSecret: config.auth.oauthProviders.google.clientSecret,
|
||||||
checks: 'nonce',
|
checks: 'nonce',
|
||||||
allowDangerousEmailAccountLinking: true,
|
allowDangerousEmailAccountLinking: true,
|
||||||
|
authorization: {
|
||||||
|
params: { scope: 'openid email profile', prompt: 'select_account' },
|
||||||
|
},
|
||||||
})
|
})
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user