210 viewsMern Amazona
0 Comments

Steps:
Run setup for backend and frontend as described in README, including step to seed products and users.
I confirmed in MongoDB Compass that entries were created and can see the products in the web app.
Login with [email protected] and pw returned from seed generation output

Results:
UI reports login failed
401 response is returned from the signin API

Any suggestions for getting past this or where to look for diagnosing?

Bassir Answered question February 5, 2024

check the db to see if you have user with that email and pass there.
use postman to send api request to the signin api and see what you get there.
share the repo to take a look.

Bassir Answered question February 5, 2024