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
630 stars 143 forks source link

raw_token['type'] - Issue #45

Open anandraj285 opened 3 years ago

anandraj285 commented 3 years ago

Hi Team,

I have recently started using the fastapi-jwt-auth in my application. I just developed the microservices using the FastAPI and our endpoints are need to be protected using JWT Auth. Endpoints will be receiving the JWT token from external application(wso2) in the header and i just need to validate the token which is received from WsO2. In this case, JWT Token don't have the "type" in the claims but fastapi-jwt-auth library expecting the "type" claims. Is there any option available to exclude this "type" claim validation.