mirror of
https://github.com/pypa/gh-action-pypi-publish.git
synced 2025-01-27 08:19:01 -05:00
Update oidc-exchange.py
Co-authored-by: 🇺🇦 Sviatoslav Sydorenko (Святослав Сидоренко) <wk.cvs.github@sydorenko.org.ua>
This commit is contained in:
parent
127f65f0dd
commit
ce054321a0
1 changed files with 1 additions and 1 deletions
|
@ -191,7 +191,7 @@ def assert_successful_audience_call(resp: requests.Response, domain: str):
|
|||
)
|
||||
|
||||
|
||||
def extract_claims(token: str) -> dict[str, typing.Any]:
|
||||
def extract_claims(token: str) -> dict[str, object]:
|
||||
_, payload, _ = token.split('.', 2)
|
||||
|
||||
# urlsafe_b64decode needs padding; JWT payloads don't contain any.
|
||||
|
|
Loading…
Add table
Reference in a new issue