mirror of
https://github.com/finos/SymphonyElectron.git
synced 2024-11-22 08:57:00 -06:00
Merge pull request #1801 from sbenmoussati/bugfix/SDA-4117-main
SDA-4117 Define path field on created cookies
This commit is contained in:
commit
4c79cc8c14
@ -132,6 +132,7 @@ class ProtocolHandler {
|
||||
httpOnly: true,
|
||||
sameSite: 'no_restriction',
|
||||
domain: cookieDomain,
|
||||
path: '/',
|
||||
};
|
||||
const csrfCookie: CookiesSetDetails = {
|
||||
url: redirectURL,
|
||||
@ -140,6 +141,7 @@ class ProtocolHandler {
|
||||
secure: true,
|
||||
sameSite: 'no_restriction',
|
||||
domain: cookieDomain,
|
||||
path: '/',
|
||||
};
|
||||
try {
|
||||
await session.defaultSession.cookies.set(skeyCookie);
|
||||
|
Loading…
Reference in New Issue
Block a user