So, this is a tough enough problem for me to resolve that I wanted to talk it out here first.
Currently, in the Development environment, everything is working fine. But in production, logging in doesn’t redirect me to inside the app. I get a success toast, but I remain on the login page. Navigating directly to an interior page just brings me back to login. Some other deep links result in 404s.
How do I ask the Agent for help if the agent can’t observe this behavior?
But - I just asked the Agent what to do, described the problem, and it recommended a solution that worked! (Setting a session secret.) I was skeptical because it wasn’t clear what had caused the regression, but I was pleasantly surprised. It seemed to have fixed what appeared to be routing issues as well.
After seeing you got the 404 error, my first reaction was routing issue. During development, the routing is to local IP and port. Once you deploy it, the routing now becomes your domain. That breaks the local routing.