I'm getting "Some cookies are misusing the recommended “SameSite“ attribute " warning when trying to set a cookie on Firefox.
Already added "secure=true" in the code but that did not work.
I'm using the "universal-cookie" library
Here is the snippet;
const cookies = new Cookies();
cookies.set('session-id', jwtToken, {
path: '/',
domain: '.example.com',
sameSite: 'none',
secure: true,
});
I think I clearly understand what the issue and security concern is, but apperantly suggestions I got on https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie/SameSite did not work for me, or I'm missing something.