Skip to content Skip to sidebar Skip to footer

Set-Cookie Was Blocked Because Its Domain Attribute Was Invalid With Regards To The Current Host Url

I have a react frontend with domain sambat.io, deployed to Vercel (Zeit) and a Node API deployed to Heroku with this domain https://safe-ridge-68566.herokuapp.com/ and cookie setup

Solution 1:

I think the issue is because the front end and backend do not have the same domain try to have the backend on the same domain by probably creating a subdomain.

If you face any further issues please do let me know.

Happy programming.


Post a Comment for "Set-Cookie Was Blocked Because Its Domain Attribute Was Invalid With Regards To The Current Host Url"