Merge pull request #1801 from sbenmoussati/bugfix/SDA-4117-main

SDA-4117 Define path field on created cookies
This commit is contained in:
NguyenTranHoangSym
2023-04-03 15:17:26 +07:00
committed by GitHub

View File

@@ -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);