Skip to content

Commit

Permalink
Merge pull request #206 from trail-of-forks/ww/update-oidc-endpoint
Browse files Browse the repository at this point in the history
This patch updates the PyPI API minting endpoint used uding the OIDC exchange process.
  • Loading branch information
webknjaz committed Feb 5, 2024
2 parents c12cc61 + cd96453 commit e080e00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion oidc-exchange.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ def _get(name: str) -> str: # noqa: WPS430

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

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

0 comments on commit e080e00

Please sign in to comment.