-
Notifications
You must be signed in to change notification settings - Fork 36
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
HTTP 401 when authenticating with token #371
Comments
Hi @Or-Geva, do you have any clue about this issue? Regards. |
Hello, @EstebanDugueperoux2! Have you attempted to use basic-auth (username and password) or JFrog-CLI instead of access-token?. Moreover, make sure that the access token has 'View Components' permission in Xray. In addition to that, you are not using the latest version of Xray. It is recommended to update to higher versions as they may contain bug fixes. |
Hello @Or-Geva, auth works using basic-auth but I want to use token auth. Regards. |
Hello @EstebanDugueperoux2, Xray v3.61.5 includes a fix for your issue: |
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
Versions
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.
The text was updated successfully, but these errors were encountered: