Skip to content

v2 abandon user, replace password with token #98

Answered by webknjaz
abitrolly asked this question in Ideas
Discussion options

You must be logged in to vote

It already works like this by default. The user was never mandatory and defaults to __token__ which is why I've updated the README some time ago to showcase a password-only case. The input is still called password, though. But it does accept tokens. I think that adding an extra input for the token would unnecessarily complicate the maintenance.
Removing the user input is not an option since there are custom indexes that need it.

Also, we'll support short-lived tokens for (Test)PyPI via OIDC soon, which would allow having no inputs on the user side in most cases.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@abitrolly
Comment options

@webknjaz
Comment options

@abitrolly
Comment options

@webknjaz
Comment options

Answer selected by webknjaz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
2 participants