Middleware cannot access cookies set on frontend domain
I am encountering a bug in my public deployment that does not occur in my local deployment. When users enter correct login info and press the button, a cookie is created to grant them access to the main pages of the website. In my local development environment, where both the frontend and backend run on localhost but on different ports (frontend on http://localhost:3000 and backend on http://localhost:5000), everything works as expected.