loopback-example-user-management icon indicating copy to clipboard operation
loopback-example-user-management copied to clipboard

Authorization header

Open chadsfatherlali opened this issue 9 years ago • 2 comments

Bug or feature request

  • [x] Bug
  • [ ] Feature request

Description of feature (or steps to reproduce if bug)

Try to perform a request with authorization header as the example:

curl -X GET -H "Authorization: $ACCESS_TOKEN"
http://localhost:3000/api/widgets

Link to sample repo to reproduce issue (if bug)

https://github.com/strongloop/loopback-example-user-management

Expected result

Response code 200 with the json of the users

Actual result (if bug)

{"error":{"statusCode":401,"name":"Error","message":"Autorización necesaria"}}

Additional information (Node.js version, LoopBack version, etc)

strongloop v6.0.2 (node v5.11.1)

chadsfatherlali avatar Dec 27 '16 12:12 chadsfatherlali

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Aug 23 '17 14:08 stale[bot]

This issue has been closed due to continued inactivity. Thank you for your understanding. If you believe this to be in error, please contact one of the code owners, listed in the CODEOWNERS file at the top-level of this repository.

stale[bot] avatar Sep 06 '17 14:09 stale[bot]