uv icon indicating copy to clipboard operation
uv copied to clipboard

allow auth with headers

Open davidszotten opened this issue 1 year ago • 4 comments

would you be open to allowing passing auth headers, eg something along the lines of https://github.com/pypa/pip/issues/8042

davidszotten avatar Feb 15 '24 22:02 davidszotten

Thanks for the request! I'm not sure when we'll be able to support this, but we will consider it.

For my own notes, xref to a "blocking" reason in pip: https://github.com/pypa/pip/pull/8078#issuecomment-657037943

zanieb avatar Feb 15 '24 22:02 zanieb

yes it sounds like having this configured per _host as opposed to per _index is one solution to the security issue

davidszotten avatar Feb 21 '24 09:02 davidszotten

We need this in pip, and I'd like to point out that different auth per-host is not enough - for git repositories it's quite likely that bearer tokens would be configured per-repository. If uv allowed this, we'd be switching right now.

nwp90 avatar Jul 31 '24 20:07 nwp90