I'm a little confused about how to handle cookies between frontend and backend.
I have a
- frontend react application
- a backend node express application.
The frontend is hosted on Netlify and the backend on Heroku.
It seems that you cannot put these apps on the same domain-
www.mydomain.com (not sure if correct). So instead I have them on different subdomains: the frontend Netlify app on staging.mydomain.com and the Heroku backend on api.mydomain.com.