From 20089dc0cdfd8e10c13e19a53e6500fb78ea27ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=98=99=E2=97=A6=20The=20Tablet=20=E2=9D=80=20GamerGirla?= =?UTF-8?q?ndCo=20=E2=97=A6=E2=9D=A7?= Date: Mon, 11 Nov 2024 17:58:57 -0500 Subject: [PATCH] refactor(nuxt): update nuxt config change auth cookie names --- nuxt.config.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/nuxt.config.ts b/nuxt.config.ts index bf0085d..0ec5d9c 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -48,10 +48,12 @@ export default defineNuxtConfig({ signInResponseTokenPointer: "/token/access", type: "Bearer", headerName: "Authorization", - maxAgeInSeconds: 14 * 24 * 60 * 60, + maxAgeInSeconds: 15 * 60, + cookieName: "rockfic_cookie", }, refreshToken: { signInResponseRefreshTokenPointer: "/token/refresh", + cookieName: "rockfic.refresh", }, // @ts-ignore sessionDataType: {} as IUser,