You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if self._user_settings["X-JFrog-Art-Api"]:
# Use Artifactory identity token instead of API key
#headers = {"X-JFrog-Art-Api": self._user_settings["X-JFrog-Art-Api"]}
headers = {"Authorization": f"Bearer {self._user_settings['X-JFrog-Art-Api']}"}
This is not very nice. So would you agree to add this feature?
Or do you see another better way without code changes?
I think it is not a big thing. I can also add a pull request if you like.
Best regards,
Adrian
The text was updated successfully, but these errors were encountered:
Hi Adrian, I'm no longer maintaining the project as I don't work for the company that released it, you can however open a pull request to discuss and show your suggested changes. I can reach out to some of my former colleagues who could potentially publish a new release.
If you do open the PR, please run the tests to make sure everything is still working (make sure to run the tests only on a Artifactory test instance).
Uh oh!
There was an error while loading. Please reload this page.
Hi Developers,
We need to use Artifactory Identity token instead of API Key:
https://www.jfrog.com/confluence/display/JFROG/User+Profile#UserProfile-identitytoken
Technically the request on Artifactory should change like so:
https://www.jfrog.com/confluence/display/JFROG/Access+Tokens#AccessTokens-AuthorizationHeaders
I was able to monkey patch the _request method like so:
https://github.com/Orange-OpenSource/rtpy/blob/master/rtpy/tools.py#L253
This is not very nice. So would you agree to add this feature?
Or do you see another better way without code changes?
I think it is not a big thing. I can also add a pull request if you like.
Best regards,
Adrian
The text was updated successfully, but these errors were encountered: