We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8d0a806 commit 8236a13Copy full SHA for 8236a13
1 file changed
rest_framework_simplejwt/authentication.py
@@ -89,7 +89,7 @@ def get_validated_token(self, raw_token):
89
messages = []
90
for AuthToken in api_settings.AUTH_TOKEN_CLASSES:
91
try:
92
- return AuthToken(raw_token)
+ return AuthToken(raw_token, api_settings.VERIFYING_KEY is not None)
93
except TokenError as e:
94
messages.append(
95
{
0 commit comments