Skip to content

Update authentication middleware to special-case index urls #4583

Closed
@zanieb

Description

@zanieb

As discussed in #4056, pip makes a keyring request for credentials for the index url but we make a request for the package url and the index url host name which for some plugins (e.g. Azure #3542) does not seem to work.

We should update the authentication handling to be aware of the user-provided index urls and, when we see a url that is a child of an index url, attempt to fetch credentials for the index url either after or instead of the package url.

Metadata

Metadata

Assignees

Labels

help wantedContribution especially encouragednetworkNetwork connectivity e.g. proxies, DNS, and SSL

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions