aboutsummaryrefslogtreecommitdiffstats
path: root/apps/web/server
diff options
context:
space:
mode:
Diffstat (limited to 'apps/web/server')
-rw-r--r--apps/web/server/auth.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/web/server/auth.ts b/apps/web/server/auth.ts
index ee226743..8fa60a75 100644
--- a/apps/web/server/auth.ts
+++ b/apps/web/server/auth.ts
@@ -114,6 +114,9 @@ if (oauth.wellKnownUrl) {
allowDangerousEmailAccountLinking: oauth.allowDangerousEmailAccountLinking,
idToken: true,
checks: ["pkce", "state"],
+ httpOptions: {
+ timeout: oauth.timeout,
+ },
async profile(profile: Record<string, string>) {
const [admin, firstUser] = await Promise.all([
isAdmin(profile.email),