From 6c03c4ea547ce973b16614247cc46cb41bb7223b Mon Sep 17 00:00:00 2001 From: Andrew Chen Wang <60190294+Andrew-Chen-Wang@users.noreply.github.com> Date: Mon, 10 Oct 2022 11:18:45 -0400 Subject: [PATCH] Revert 605 (#629) --- rest_framework_simplejwt/authentication.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rest_framework_simplejwt/authentication.py b/rest_framework_simplejwt/authentication.py index fd26bdb06..15767cddd 100644 --- a/rest_framework_simplejwt/authentication.py +++ b/rest_framework_simplejwt/authentication.py @@ -89,7 +89,7 @@ def get_validated_token(self, raw_token): messages = [] for AuthToken in api_settings.AUTH_TOKEN_CLASSES: try: - return AuthToken(raw_token, api_settings.VERIFYING_KEY is not None) + return AuthToken(raw_token) except TokenError as e: messages.append( {