cookies-next
cookies-next copied to clipboard
Cookies not being saved in Samsung internet browser
Hello,
We've an issue with Samsung browsers not storing cookies, The below image is from our Sentry proving that simply the cookies are not being stored. This is mostly for Samsung Internet browser.
I've stumbled upon couple answers (1 & 2) to this issue, they suggested to credentials: "same-origin"
and withCredentials: true
but I just cannot see this option? am I missing something?
No idea why a simple cookie not being saved. This is how I set the cookie (client-side)
setCookie(
"utms",
{
utm_source: "bla bla bla"
},
{
domain: ".mydomain.com",
maxAge: 86400 * 360, // 1 year
}
);
Thanks.