oidc-exchange: lintage

Signed-off-by: William Woodruff <william@trailofbits.com>
This commit is contained in:
William Woodruff 2023-08-09 15:10:56 -04:00
parent 71a0032909
commit 8bdd0cc2a0
No known key found for this signature in database
1 changed files with 2 additions and 2 deletions

View File

@ -142,8 +142,8 @@ def assert_successful_audience_call(resp: requests.Response, domain: str):
) )
def render_claims(oidc_token: str) -> str: def render_claims(token: str) -> str:
_, payload, _ = oidc_token.split(".", 2) _, payload, _ = token.split(".", 2)
claims = json.loads(base64.urlsafe_b64decode(payload)) claims = json.loads(base64.urlsafe_b64decode(payload))
def _get(name: str) -> str: def _get(name: str) -> str: