Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Signup not working #86

Open
VishalVatsal97 opened this issue May 14, 2020 · 2 comments · May be fixed by #125
Open

Signup not working #86

VishalVatsal97 opened this issue May 14, 2020 · 2 comments · May be fixed by #125

Comments

@VishalVatsal97
Copy link

VishalVatsal97 commented May 14, 2020

Hi, I am new to node so there might be something basic that I am missing. When I click on "Create Account " button from the signup page I get this in the browser console:

POST http://localhost:3100/signup 400 (Bad Request)

I looked into the code and it seems the callback for passport authenticate(for login-signup) is not getting called as there is console.log('Inside call back'); which is not getting printed on the console.

@bikingbadger
Copy link

I've also just jumped in and tried to get it running locally. This is happening for me using docker. I'll be happy to try help debug this issue too.

@MargotRasamy
Copy link

Hello ! I have just created a pull request above to fix the issue. Please check it out and review it :) The problem was the fact that there was a typo in the id name inside the query selectors for the email (and mobile number too by the way) which caused the signup request to fail as we did not provide an email.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants