ever-traduora
ever-traduora copied to clipboard
GET for /api/v1/projects is not allowed using client_credentials token
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:
- Get bearer token using client_credentials
- call /api/v1/projects with generated token in the Authorization header
- Will receive a Status of 401
Expected behavior Should allow to pull projects.
Environment
- Device: Desktop
- OS: Win10
- NodeJS/Docker
- Version: Latest