Skip to content

Scan failed (403) when i use no admin identity token for extension login #501

@depoortere

Description

@depoortere

Describe the bug
When i use a Identity Token, i've got 403 error :

[ERR - 1:16:51 PM] Workspace 'workspace' scan task ended with error:
[ERR - 1:16:51 PM] AxiosError: Request failed with status code 403

Scan failed.

When i use the login/password, it's working.

To Reproduce
on Jfrog cloud

  • create an internal user, with no roles
  • related with a group developers : with only Manage Reports role.
  • group is associated at permission : on any remote repositories, permissions : read, annotate, deploy/cache

if i use an identity token from an admin user, it's working !

Expected behavior
scan success !

Screenshots
If applicable, add screenshots to help explain your problem.

Versions

  • JFrog VS-Code extension version: 2.11.7
  • JFrog VS-Code extension operating system:
  • JFrog Xray Version: 3.106.7

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions