From 3bdc2745cae95be6f39e22d9ac7416e3e983faf3 Mon Sep 17 00:00:00 2001 From: alma Date: Thu, 17 Apr 2025 00:00:17 +0200 Subject: [PATCH] Neah version calendar fix 3 debuger sec chance 2 --- app/api/auth/[...nextauth]/route.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/app/api/auth/[...nextauth]/route.ts b/app/api/auth/[...nextauth]/route.ts index caf543e..b1515f4 100644 --- a/app/api/auth/[...nextauth]/route.ts +++ b/app/api/auth/[...nextauth]/route.ts @@ -61,6 +61,7 @@ export const authOptions: NextAuthOptions = { callbacks: { async jwt({ token, account, profile }) { if (account && profile) { + token.sub = profile.sub; token.accessToken = account.access_token; token.refreshToken = account.refresh_token; token.accessTokenExpires = account.expires_at! * 1000;