Skip to content

Commit

Permalink
Merge pull request #120 from SanderTuit/upgrade-pyjwt-dependency
Browse files Browse the repository at this point in the history
Add dependency on and compatibility with PyJWT 2.0
  • Loading branch information
JonasKs authored Jan 15, 2021
2 parents 93bcb3f + f454be0 commit 03deea0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion django_auth_adfs/backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def validate_access_token(self, access_token):
issuer=provider_config.issuer,
options=options,
)
except jwt.ExpiredSignature as error:
except jwt.ExpiredSignatureError as error:
logger.info("Signature has expired: %s", error)
raise PermissionDenied
except jwt.DecodeError as error:
Expand Down

0 comments on commit 03deea0

Please sign in to comment.