mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-29 10:59:07 +00:00
refactor: allow cloud in iframe
This commit is contained in:
committed by
Carlos Valente
parent
44048a889d
commit
03e68c03a9
@@ -124,6 +124,6 @@ function setSessionCookie(res: Response, token: string) {
|
|||||||
httpOnly: false, // allow websocket to access cookie
|
httpOnly: false, // allow websocket to access cookie
|
||||||
secure: true,
|
secure: true,
|
||||||
path: '/', // allow cookie to be accessed from any path
|
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)
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user