We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1307b95 commit 30c316eCopy full SHA for 30c316e
fastapi_jwt_auth/auth_jwt.py
@@ -608,7 +608,7 @@ def verify_jwt_in_request(
608
if token_from == 'headers':
609
raise MissingTokenError(status_code=401,message="Missing {} Header".format(self._header_name))
610
if token_from == 'websocket':
611
- raise MissingTokenError(status_code=1008,message="Missing token from Query or Path")
+ raise MissingTokenError(status_code=1008,message="Missing {} token from Query or Path".format(type_token))
612
613
# verify jwt
614
issuer = self._decode_issuer if type_token == 'access' else None
0 commit comments