Skip to content

Commit

Permalink
oidc-exchange: lintage
Browse files Browse the repository at this point in the history
Signed-off-by: William Woodruff <[email protected]>
  • Loading branch information
woodruffw committed Aug 9, 2023
1 parent 71a0032 commit 8bdd0cc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions oidc-exchange.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 8bdd0cc

Please sign in to comment.