
Even though the cookie is present with response, the cookie is not setting the browser. I am also setting credentials to true.
const client = createClient({
url: "http://localhost:4000/graphql",
fetchOptions: {
credentials: "include",
},
});
app.use(
cors({
origin: "http://localhost:3000",
credentials: true,
})
);
I am also setting the cors in the server
Even though the cookie is present with response, the cookie is not setting the browser. I am also setting credentials to true.
I am also setting the cors in the server