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 authentication with JFrog artifactories #2592

Merged
merged 1 commit into from
Mar 21, 2024
Merged

Fix authentication with JFrog artifactories #2592

merged 1 commit into from
Mar 21, 2024

Conversation

zanieb
Copy link
Member

@zanieb zanieb commented Mar 21, 2024

Closes #2566

We were storing the username e.g. charlie@astral.sh as a percent-encoded string charlie%40astral.sh which resulted in different headers and broke JFrog's artifactory which apparently does not decode usernames.

Tested with a JFrog artifactory and AWS CodeArtifact although it is worth noting that AWS does not have a username with an @ — it'd be nice to test another artifactory with percent-encoded characters in the username and/or password.

@zanieb zanieb added the bug Something isn't working label Mar 21, 2024
@zanieb zanieb merged commit 7ee90dc into main Mar 21, 2024
31 checks passed
@zanieb zanieb deleted the zb/fix-jfrog branch March 21, 2024 17:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

HTTP status client error (401 Unauthorized) / (403 Forbidden) for packages hosted on a JFrog PyPI repo
2 participants