Skip to content

HTTP 401 when authenticating with token #371

@EstebanDugueperoux2

Description

@EstebanDugueperoux2

Describe the bug
With the Eclipse plugin (https://jfrog.com/help/r/jfrog-integrations-documentation/download?tocId=zjbyPctKiA8tFZD5aga0Iw) we only specify Xray endpoint, username and as password I can specify a token generated from my Artifactory profile and it works.
With this VSCode extension, I must specify 3 endpoints (JFrog Platform, Artifactory and XRay) and when I specify the same token as with Eclipse extension, I get a HTTP 401 answer.

To Reproduce
I have reproduced in my corporate context but it is difficult

Expected behavior
I expect connection works as with Eclipse plugin.

Screenshots
image

Versions

  • JFrog VS-Code extension version: v2.3.4
  • JFrog VS-Code extension operating system: Windows
  • JFrog Xray Version: 3.60.2

Additional context
I seems works with Eclipse plugin, because it uses my login in addition to token while this VSCode extension attempts authentication only from token, it don't ask me my username/login.

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