ever-traduora icon indicating copy to clipboard operation
ever-traduora copied to clipboard

GET for /api/v1/projects is not allowed using client_credentials token

Open Jeff0029 opened this issue 2 years ago • 0 comments

If you generate your bearer token using client_credentials, any API access type will not be able to fetch the list of projects.
I'm assuming this access is linked to ViewProject or ViewProjectClients. I am however able to fetch it using grant_type: password

Not a long term solution as I would like to use it correctly with the API keys.

To Reproduce Steps to reproduce the behavior:

  1. Get bearer token using client_credentials
  2. call /api/v1/projects with generated token in the Authorization header
  3. Will receive a Status of 401

Expected behavior Should allow to pull projects.

Environment

  • Device: Desktop
  • OS: Win10
  • NodeJS/Docker
  • Version: Latest

Jeff0029 avatar Sep 25 '21 17:09 Jeff0029