bradtraversy / meanauthapp

Complete MEAN stack app with authentication
242 stars 152 forks source link

404 error for users/authenticate #20

Closed santoshmanivannan closed 6 years ago

santoshmanivannan commented 6 years ago

I am getting a 404 error for the users/authenticate endpoint when trying to login. Help please!

vijoytechy commented 6 years ago

I have the same error ,its because of jsonwebtoken .Error: Expected "payload" to be a plain object. due to this its not generating the token,so its not authenticated !!!!