From 8bdd0cc2a0ec4a8773b96ddd5bdc4a2dd849cf81 Mon Sep 17 00:00:00 2001 From: William Woodruff Date: Wed, 9 Aug 2023 15:10:56 -0400 Subject: [PATCH] oidc-exchange: lintage Signed-off-by: William Woodruff --- oidc-exchange.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/oidc-exchange.py b/oidc-exchange.py index c6b40a7..886edcd 100644 --- a/oidc-exchange.py +++ b/oidc-exchange.py @@ -142,8 +142,8 @@ def assert_successful_audience_call(resp: requests.Response, domain: str): ) -def render_claims(oidc_token: str) -> str: - _, payload, _ = oidc_token.split(".", 2) +def render_claims(token: str) -> str: + _, payload, _ = token.split(".", 2) claims = json.loads(base64.urlsafe_b64decode(payload)) def _get(name: str) -> str: