Closed AdamVig closed 7 years ago
Was not able to reproduce. @emmanuelroussel can you write out the steps to reproduce the bug?
This is strange, the steps you described above are right.
POST /auth
with credentialsGET /user/:userID
with token received above (userID of the account)I tried with two different accounts, same problem.
Restarted the server and the problem went away. 🙄
GET /user/:userID
Token is for the user that the request is trying to access (
userID
matches).401 Unauthorized