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

Initial proposal to feature scopes #40

Open SamiAlsubhi opened 3 years ago

SamiAlsubhi commented 3 years ago

Here I made an initial proposal to add scope check to jwt_required(), jwt_optional(), fresh_jwt_required() and jwt_refresh_token_required()

vbigbang commented 3 years ago

This is definitely a very complete feature. I am waiting for this dependency to have the scope option. It would be great if I could merge it as soon as possible