diff --git a/server/ecommerce/src/auth/auth.controller.ts b/server/ecommerce/src/auth/auth.controller.ts index 85b5137..0728163 100644 --- a/server/ecommerce/src/auth/auth.controller.ts +++ b/server/ecommerce/src/auth/auth.controller.ts @@ -81,6 +81,8 @@ export class AuthController { response.cookie('refreshToken', refreshToken, { httpOnly: true, maxAge: 60 * 60 * 1000, + secure: true, + sameSite: 'none', }); response.redirect('https://exquisite-pasca-338883.netlify.app'); }