I have an API that send a cookie to the React front APP, but when I try to access the cookie from React I can not access, my two domains are HTTPS, the API is deployed on Heroku and the React APP is deployed on Firebase hosting.
This is the cookie I send from the API
res.cookie("isLogged", true, {
httpOnly: false,
sameSite: "none",
secure: true,
maxAge: 24 * 60 * 60 * 1000,
})
.status(200)
.send();
The cookie is set on my react app but I can not access it through JS, not even on the console using: document.cookie
Thanks 💜