-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Open
Labels
A-registry-authenticationArea: registry authentication and authorization (authn authz)Area: registry authentication and authorization (authn authz)C-feature-requestCategory: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`S-triageStatus: This issue is waiting on initial triage.Status: This issue is waiting on initial triage.
Description
Problem
This is a usability papercut on the new registry authentication feature in nightly.
The merged code depends on a GET -> 401 -> GET-with-auth -> 200 sequence for config.json.
That doesn't work (today) for JFrog Artifactory cargo registries: they return 400 for the first request.
Obviously this is a thing that they'll fix eventually, but perhaps an option to allow prior-knowledge of auth tokens being required would be helpful, since I doubt they'll be the only site to do this weirdly.
Steps
No response
Possible Solution(s)
No response
Notes
No response
Version
No response
Metadata
Metadata
Assignees
Labels
A-registry-authenticationArea: registry authentication and authorization (authn authz)Area: registry authentication and authorization (authn authz)C-feature-requestCategory: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`S-triageStatus: This issue is waiting on initial triage.Status: This issue is waiting on initial triage.