Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Jeff0029 opened this issue Sep 25, 2021 · 0 comments
Open
Assignees
Labels
bug Something isn't working help wanted Extra attention is needed
Milestone

Comments

@Jeff0029
Copy link

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 Jeff0029 added bug Something isn't working help wanted Extra attention is needed labels Sep 25, 2021
@evereq evereq added this to the Traduora 1.0 milestone Sep 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants