Skip to content
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

fix: support new create access token API #192

Merged
merged 1 commit into from
Sep 20, 2024

Conversation

anancarv
Copy link
Owner

@anancarv anancarv commented Sep 19, 2024

Description

Support the new /access/api/v1/tokens REST API to create access tokens (See documentation).

The old Create Token API that is used by ArtifactorySecurity.create_access_token() is deprecated: https://jfrog.com/help/r/jfrog-rest-apis/create-token-deprecated

Tokens created using the old API can't be used to authenticate with the new API due to audience limitations in old tokens.

Fixes #150

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • This change requires a documentation update

@anancarv
Copy link
Owner Author

@NiklasRosenstein sorry for the very late answer. Here is the MR to supportthe new CreateToken API. Feel free to review the changes

@anancarv anancarv merged commit d7b7e85 into master Sep 20, 2024
9 checks passed
@anancarv anancarv deleted the fix/fix-create-access-token branch September 20, 2024 08:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support new CreateToken API/allow setting custom scope
1 participant