I have developed a service where the login functionality works perfectly in the development environment. However, in production on my custom domain, the login process constantly fails—even though a success message is shown, users remain logged out. I’ve been troubleshooting this issue for over three weeks with no success.
I’ve tried clearing browser cookies, testing across various browsers and devices, yet the error persists. I previously reached out to support, but the responses seemed automated and did not help resolve the issue.
The service is fully operational aside from this login migration problem. At this point, I’m considering moving away from Replit entirely and building a standalone solution using cloud code or another platform if this issue cannot be resolved.
I would greatly appreciate any insights or guidance, and I’m also interested in hearing from others who might have faced a similar challenge.