Skip to content

Commit

Permalink
Merge pull request #5 from jonsulman/remove-deprecated-verify-param
Browse files Browse the repository at this point in the history
Remove verify param from jwt.decode call
  • Loading branch information
tkrussy authored Oct 29, 2021
2 parents dfff2e2 + 24bf744 commit 527740a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,13 @@

name: Test and Analysis

on: [push]
on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
build:
Expand Down
1 change: 0 additions & 1 deletion aad_token_verify/token_verifier.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ def get_verified_payload(token: str, tenant_id: str = "common", audience_uris: L
payload = decode(
token,
public_key,
verify=True,
algorithms=["RS256"],
audience=audience_uris,
issuer=openid_config.get("issuer"),
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

setup(
name='aad-token-verify',
version='0.1.3',
version='0.1.4',
description='A python utility library to verify an Azure Active Directory OAuth token',
long_description=long_description,
long_description_content_type='text/markdown',
Expand Down

0 comments on commit 527740a

Please sign in to comment.