From ce054321a06db87f7542889d64360b2bd87e0b12 Mon Sep 17 00:00:00 2001 From: William Woodruff Date: Thu, 5 Dec 2024 09:52:12 -0500 Subject: [PATCH] Update oidc-exchange.py MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: 🇺🇦 Sviatoslav Sydorenko (Святослав Сидоренко) --- oidc-exchange.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/oidc-exchange.py b/oidc-exchange.py index eb5b001..79a403b 100644 --- a/oidc-exchange.py +++ b/oidc-exchange.py @@ -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.