diff --git a/packages/backend/src/configs/session.config.ts b/packages/backend/src/configs/session.config.ts index 65c49b96..456bda54 100644 --- a/packages/backend/src/configs/session.config.ts +++ b/packages/backend/src/configs/session.config.ts @@ -8,6 +8,8 @@ export const sessionConfig = { resave: false, saveUninitialized: false, name: process.env.COOKIE_NAME, + secure: true, + sameSite: 'none', cookie: { maxAge: Number(process.env.COOKIE_MAX_AGE), },