-
Notifications
You must be signed in to change notification settings - Fork 224
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
Cannot use Identity token as Password using JFrog CLI #1616
Comments
HPE is impacted by this issue. |
The same issue happens when using an When trying to configure this as a userid + password in jf cli tool it fails. However this token works fine when used in a basic curl command like
|
This issue seems to affect the npm integration commands. With jf v2.22.0 I get this output:
|
@SharonSbo @scott-hpe @pem-imre Workaround
Root causes
We will keep you posted once a long-term solution is implemented. |
@SharonSbo @scott-hpe @pem-imre |
While trying to use identity token as password (i.e username + Identity Token) in the jf CLI, the response is 401.
The same command works fine when using API request.
To Reproduce
jf rt ping --server-id <SERVER_NAME>
The output:
10:46:10 [🚨Error] Server response: 401 Unauthorized { "errors": [ { "status": 401, "message": "Bad credentials" } ] }
Expected behavior
The identity token will work as password using CLI.
Screenshots
Versions
The text was updated successfully, but these errors were encountered: