diff --git a/backend/src/controller/authentication_controller.ts b/backend/src/controller/authentication_controller.ts index d81a6e6..1ba17d7 100644 --- a/backend/src/controller/authentication_controller.ts +++ b/backend/src/controller/authentication_controller.ts @@ -231,7 +231,7 @@ export const googleLoginController = (req: Request, res: Response): void => { // TODO: Remove sameSite: none in production res .cookie('access_token', - access_token, { maxAge: 60 * 60 * 24 * 1000, httpOnly: true, secure: true, sameSite: 'none' }) + access_token, { maxAge: 60 * 60 * 24 * 1000, httpOnly: true, secure: true, sameSite: 'none', domain: 'gawron.cloud' }) .status(200) .json({ access_token,