use SameSite=None for auth_token cookie
This commit is contained in:
parent
39102d81ca
commit
6f07f63960
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ function setCookie(name, value, expirationDaysOnWeb) {
|
|||
expires = `expires=${IS_WEB ? date.toUTCString() : maxExpiration};`;
|
||||
}
|
||||
|
||||
let cookie = `${name}=${value || ''}; ${expires} path=/; SameSite=Lax;`;
|
||||
let cookie = `${name}=${value || ''}; ${expires} path=/; SameSite=None;`;
|
||||
if (isProduction) {
|
||||
cookie += ` domain=${domain}; Secure;`;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue