From 0ec4ca5f26327ccfabdd538bb45d27e4197648d3 Mon Sep 17 00:00:00 2001 From: marselkhisamov Date: Fri, 26 Jul 2024 00:17:57 +0400 Subject: [PATCH] feat(verity): trigger release --- libs/auth/src/lib/auth.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libs/auth/src/lib/auth.ts b/libs/auth/src/lib/auth.ts index 2084be1..df36f22 100644 --- a/libs/auth/src/lib/auth.ts +++ b/libs/auth/src/lib/auth.ts @@ -58,6 +58,9 @@ export const { handlers, signIn, signOut, auth } = NextAuth({ if (account?.id_token) { token.idToken = account.id_token; } + if (account?.access_token) { + token.accessToken = account.access_token; + } return token; }, session({ session, token }) {