refactor: allow cloud in iframe

This commit is contained in:
Carlos Valente
2025-04-10 21:19:54 +02:00
committed by Carlos Valente
parent 44048a889d
commit 03e68c03a9
+1 -1
View File
@@ -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)
});
}