Skip to content

Commit e080e00

Browse files
authored
Merge pull request #206 from trail-of-forks/ww/update-oidc-endpoint
This patch updates the PyPI API minting endpoint used uding the OIDC exchange process.
2 parents c12cc61 + cd96453 commit e080e00

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

oidc-exchange.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ def _get(name: str) -> str: # noqa: WPS430
164164

165165
repository_url = get_normalized_input("repository-url")
166166
repository_domain = urlparse(repository_url).netloc
167-
token_exchange_url = f"https://{repository_domain}/_/oidc/github/mint-token"
167+
token_exchange_url = f"https://{repository_domain}/_/oidc/mint-token"
168168

169169
# Indices are expected to support `https://{domain}/_/oidc/audience`,
170170
# which tells OIDC exchange clients which audience to use.

0 commit comments

Comments
 (0)