codimd
codimd copied to clipboard
Set Lax for the SameSite attribute on cookies
Can anyone have a look at this?
Actually, this requires a new release of js-cookie so changing it to a Draft PR.
Hi @mic4ael,
Thanks for opening this PR. I think this will take some time to review if case we missed any cookie not been set to Lax. Also, I'm wondering is there any way we can migrate existing cookie to Lax or the only way is ask user to sign out and sign in again.
Hi @mic4ael,
Thanks for opening this PR. I think this will take some time to review if case we missed any cookie not been set to Lax. Also, I'm wondering is there any way we can migrate existing cookie to Lax or the only way is ask user to sign out and sign in again.
Shouldn't this be done by the browser? If the server sends an updated cookie, I would assume that the browser updates it appropriately.