I am using React and Graphql - URQL in frontend.
When a user logs in, the server sends a set-cookie header, the cookie is getting saved in the browser with correct attributes and correct expiry time, but whenever the page is refreshed, the cookies are getting removed no matter what the expiry attribute is. There is no code to clear cookies in my app, I am confused why is this happening I can't find any solution for this problem on the web, how can I solve this?