-
Notifications
You must be signed in to change notification settings - Fork 154
Open
Description
Description
The email/password signup flow on the frontend does not trigger a request to the backend /signup endpoint. Because of this, users cannot complete email-based registration and OTP verification never occurs.
Clicking "Sign Up With Email" immediately shows "Signup failed", but no network request is made to the backend.
Steps to Reproduce
- Run the backend locally
- Run the frontend in local development mode
- Open the "Create an account" page
- Enter a valid email and password
- Click Sign Up With Email
- Open browser DevTools → Network tab
Expected Behavior
A POST request should be sent to:
POST /signup
With payload:
{
"email": "<user email>",
"password": "<user password>"
}Backend should return a success response and send an OTP email.
Actual Behavior
- No POST /signup request is triggered
- Network tab shows no backend API call
- Frontend displays "Signup failed"
- OTP email is never sent
Evidence
- Backend /signup works correctly when tested via curl/Postman
- MongoDB confirms users are only created via other flows
- Browser Network tab shows no API call on email signup button click
Possible Cause
The email signup button may not be wired to a submit handler or the handler does not call the backend /signup API.
Environment
- OS: Windows
- Browser: Chrome
- Backend: Go (Gin), running locally
- Frontend: React (local dev)
I’m happy to take this up , submit a fix and push a pr if allowed.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels