Skip to content

Update authentication middleware to special-case index urls #4583

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.

Activity

  1. added
    help wantedContribution especially encouraged
    area:networkNetwork connectivity e.g. proxies, DNS, and SSL
    on Jun 27, 2024
  2. self-assigned this
    on Apr 2, 2025
  3. added 2 commits that reference this issue on Apr 19, 2025
    26ea270
    3b2e4af
  4. added a commit that references this issue on Apr 24, 2025
    b230fb6
  5. added a commit that references this issue on Apr 25, 2025
    866ed93
  6. added a commit that references this issue on Apr 29, 2025
    5b7167d
  7. added a commit that references this issue on Apr 29, 2025
    de1479c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:networkNetwork connectivity e.g. proxies, DNS, and SSLhelp wantedContribution especially encouraged

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions