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

Response not shown if googleAuth.verify() gives an error in auth.js #36

Open
naman-gupta99 opened this issue Dec 22, 2018 · 1 comment

Comments

@naman-gupta99
Copy link

No description provided.

@naman-gupta99
Copy link
Author

naman-gupta99 commented Dec 22, 2018

If the token is wrong in the parameters of /auth/login then googleAuth.verify generates an error which is the passed into the callback which again tries to pass the error to the Main Callback which has to finally convert it into a response and send which is not happening actually. Whereas it gives a system error (Check the image (the image is the error given by the login system I have copied from yours into my own project but I have verified that the concerned functions are exactly same)).
image
Focus on the error callback was already called.

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

No branches or pull requests

1 participant