Skip to content

Commit

Permalink
Merge pull request #147 from trail-of-forks/tob-stabilize-oidc
Browse files Browse the repository at this point in the history
README, oidc-exchange: remove beta references
  • Loading branch information
webknjaz committed Apr 23, 2023
2 parents c542b72 + c008c2f commit 3b6670b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 0 additions & 4 deletions README.md
Expand Up @@ -67,10 +67,6 @@ settings page of your project on GitHub. See [Creating & using secrets].

### Trusted publishing

> **IMPORTANT**: This functionality is in beta, and will not work for you
> unless you're a member of the PyPI trusted publishing beta testers' group.
> For more information, see [warehouse#12965].
> **NOTE**: Trusted publishing is sometimes referred to by its
> underlying technology -- OpenID Connect, or OIDC for short.
> If you see references to "OIDC publishing" in the context of PyPI,
Expand Down
2 changes: 1 addition & 1 deletion oidc-exchange.py
Expand Up @@ -96,7 +96,7 @@ def assert_successful_audience_call(resp: requests.Response, domain: str):
match resp.status_code:
case HTTPStatus.FORBIDDEN:
# This index supports OIDC, but forbids the client from using
# it (either because it's disabled, limited to a beta group, etc.)
# it (either because it's disabled, ratelimited, etc.)
die(
f"audience retrieval failed: repository at {domain} has trusted publishing disabled",
)
Expand Down

0 comments on commit 3b6670b

Please sign in to comment.