File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -286,7 +286,7 @@ def validate_access_token(
286286 """
287287
288288 if not token :
289- raise InvalidArgumentException (message = "Cannot validate empty string as a token" )
289+ raise InvalidArgumentException (message = "Cannot decode empty string as a token" )
290290
291291 validator = self ._select_validator (token )
292292 local_validation , remote_validation = self ._check_access_token (
Original file line number Diff line number Diff line change @@ -181,7 +181,7 @@ def validate_token(
181181 """
182182 # PyJWT should enforce this, but we have unit tests in case...
183183 if not token_str :
184- raise InvalidArgumentException (message = "Cannot validate empty string as a token" )
184+ raise InvalidArgumentException (message = "Cannot decode empty string as a token" )
185185 if not issuer :
186186 # PyJWT does not seem to raise if the issuer is explicitly None, even when
187187 # verify_iss was selected.
You can’t perform that action at this time.
0 commit comments