Skip to content

Commit

Permalink
Set default verifying key to empty str (#487)
Browse files Browse the repository at this point in the history
  • Loading branch information
q0w committed Dec 15, 2021
1 parent f2ec2f9 commit 1ba3743
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion rest_framework_simplejwt/backends.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def __init__(
self,
algorithm,
signing_key=None,
verifying_key=None,
verifying_key="",
audience=None,
issuer=None,
jwk_url: str = None,
Expand Down
2 changes: 1 addition & 1 deletion rest_framework_simplejwt/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

'ALGORITHM': 'HS256',
'SIGNING_KEY': settings.SECRET_KEY,
'VERIFYING_KEY': None,
'VERIFYING_KEY': "",
'AUDIENCE': None,
'ISSUER': None,
'JWK_URL': None,
Expand Down

0 comments on commit 1ba3743

Please sign in to comment.