Skip to content

[bug] Login and Register fails on the deployed URL #133

Description

@Codewithpabitra

Describe the bug
When user hit login or register after filling required fields then it fails , also show status code 200 but send empty response which is not according to the code logic. and you can not access "/generator" route as not logged in.

To Reproduce
Steps to reproduce the behavior:

  1. Go to "https://autodoc-ai-jrr2.onrender.com/login" or "https://autodoc-ai-jrr2.onrender.com/signup"
  2. Perform action - try to login or register
  3. open devtools and open network tab , see headers and response (empty) and status code 200 still.

Expected behavior
Should login / register properly according to synk with backend and with a proper returned response and then redirect to the generator page in the frontend.

Expected Solution
I found an issue in the code ->

Image

see in /api/routes/auth.js the login and register controller are not imported although they are defined in api/controllers/authController.js , that might be an issue. although for this the server should crash.

Environment Details

  • OS/Environment: [e.g. Windows 11]
  • Runtime/Version: [e.g. Node v20]

Screenshots & Logs
Video for the reference -

Loom.Message.-.22.June.2026.-.1080p.mp4

Metadata

Metadata

Labels

Harddeep dive!!!SSoC26bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions