IndominusByte / fastapi-jwt-auth

FastAPI extension that provides JWT Auth support (secure, easy to use, and lightweight)
http://indominusbyte.github.io/fastapi-jwt-auth/
MIT License
627 stars 143 forks source link

clarification in _verifying_token #66

Open venkatesan001 opened 2 years ago

venkatesan001 commented 2 years ago

Started using the fastapi-jwt-auth. Validating the token from header. Raw token doesnt have "type" key so its failed with KeyError. Just want to understand the below condition.

if raw_token['type'] in self._denylist_token_checks:
        self._check_token_is_revoked(raw_token)
ZacharyHampton commented 1 year ago

Have you fixed this? Thanks.