const cookieParts = [
sessionCookie,
'HttpOnly',
- `Path=${this.options.dingus.proxyPrefix}/`,
`Max-Age=${this.cookieLifespan}`,
+ 'SameSite=Lax',
+ `Path=${this.options.dingus.proxyPrefix}/`,
];
if (this.options.authenticator.secureAuthOnly) {
cookieParts.push('Secure');
`${Enum.SessionCookie}=""`,
'HttpOnly',
'Max-Age=0',
+ 'SameSite=Lax',
`Path=${this.options.dingus.proxyPrefix}/`,
];
if (this.options.authenticator.secureAuthOnly) {
}
-module.exports = Authenticator;
\ No newline at end of file
+module.exports = Authenticator;
const cookieParts = [
`${cookieName}=${secureSession}`,
'HttpOnly',
+ 'SameSite=Lax',
];
if (this.options.authenticator.secureAuthOnly) {
cookieParts.push('Secure');
}
-module.exports = SessionManager;
\ No newline at end of file
+module.exports = SessionManager;