aboutsummaryrefslogtreecommitdiffstats
path: root/apps/web/server/auth.ts
diff options
context:
space:
mode:
authorMohamed Bassem <me@mbassem.com>2025-07-26 10:26:18 +0000
committerMohamed Bassem <me@mbassem.com>2025-07-26 10:26:39 +0000
commit2cb0ab01ed8757e6ee8e82076c2d6f22927504b3 (patch)
tree686cdc81bddd81182a021219afca69712a48b28f /apps/web/server/auth.ts
parent5019c8d9d4d97df9e7fb7b67e75d9dd045049861 (diff)
downloadkarakeep-2cb0ab01ed8757e6ee8e82076c2d6f22927504b3.tar.zst
fix: Stop forcing next-auth to read email from id_token. Fixes #410
Diffstat (limited to '')
-rw-r--r--apps/web/server/auth.ts1
1 files changed, 0 insertions, 1 deletions
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,