From 2cb0ab01ed8757e6ee8e82076c2d6f22927504b3 Mon Sep 17 00:00:00 2001 From: Mohamed Bassem Date: Sat, 26 Jul 2025 10:26:18 +0000 Subject: fix: Stop forcing next-auth to read email from id_token. Fixes #410 --- apps/web/server/auth.ts | 1 - 1 file changed, 1 deletion(-) (limited to 'apps/web/server/auth.ts') diff --git a/apps/web/server/auth.ts b/apps/web/server/auth.ts index 1feeec28..acbb3fec 100644 --- a/apps/web/server/auth.ts +++ b/apps/web/server/auth.ts @@ -128,7 +128,6 @@ if (oauth.wellKnownUrl) { clientId: oauth.clientId, clientSecret: oauth.clientSecret, allowDangerousEmailAccountLinking: oauth.allowDangerousEmailAccountLinking, - idToken: true, checks: ["pkce", "state"], httpOptions: { timeout: oauth.timeout, -- cgit v1.2.3-70-g09d2