From 03e68c03a90c61340a08a14e676db86234d3313b Mon Sep 17 00:00:00 2001 From: Carlos Valente Date: Thu, 10 Apr 2025 21:19:54 +0200 Subject: [PATCH] refactor: allow cloud in iframe --- apps/server/src/middleware/authenticate.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/server/src/middleware/authenticate.ts b/apps/server/src/middleware/authenticate.ts index 32fb312a7..30e81012f 100644 --- a/apps/server/src/middleware/authenticate.ts +++ b/apps/server/src/middleware/authenticate.ts @@ -124,6 +124,6 @@ function setSessionCookie(res: Response, token: string) { httpOnly: false, // allow websocket to access cookie secure: true, path: '/', // allow cookie to be accessed from any path - sameSite: 'strict', + sameSite: 'none', // allow cookies to be sent in cross-origin requests (e.g., iframes) }); }