divanov11 / proshop_django

403 stars 426 forks source link

User Registration Error #1

Closed tolu-c closed 3 years ago

tolu-c commented 3 years ago

signUp -401 error

postman- error 401

I Get an error saying Authentication credentials were not provided. when I try to register a new user. And my code is literally the same. This i the fifth time I am trying this.

from the console : POST http://localhost:3000/api/users/register/ 401 (Unauthorized) from the redux state:

loading(pin):false
error(pin):"Authentication credentials were not provided."

it also doesn't work on postman

msebak commented 2 months ago

how have you solved it ?