Skip to content

Commit

Permalink
fix: attempt to fix coverage check
Browse files Browse the repository at this point in the history
  • Loading branch information
UsamaSadiq authored and mumarkhan999 committed Sep 7, 2023
1 parent 92e98ca commit 8bba16c
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion edx_rest_framework_extensions/auth/jwt/decoder.py
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,14 @@ def _verify_jwt_signature(token, jwt_issuer, decode_symmetric_token):


def verify_jwk_signature_using_keyset(token, key_set, aud=None, iss=None, verify_signature=True, verify_exp=True):

"""
Verifies the JWS using the provided keyset.
It loops through the available keys in the keyset
to find that if there is any key which can be used to verify
the signature.
The audience and issuer arguments will be verified if they are passed
while calling the method.
"""
options = {
'verify_signature': verify_signature,
'verify_exp': verify_exp,
Expand Down

0 comments on commit 8bba16c

Please sign in to comment.