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

ERROR: fastapi-jwt-auth 0.5.0 has requirement PyJWT<2.0.0,>=1.7.1 #32

Open amiyatulu opened 3 years ago

amiyatulu commented 3 years ago

In compatible with new fastapi ERROR: fastapi-jwt-auth 0.5.0 has requirement PyJWT<2.0.0,>=1.7.1, but you'll have pyjwt 2.0.0 which is incompatible.

IndominusByte commented 3 years ago

yeah fastapi-jwt-auth right now compatible with under 2.0.0 version of pyjwt, I will bump the version of pyjwt in the next version after I tested in fastapi-jwt-auth, thankyou 🙏

iasukas commented 3 years ago

是的, fastapi - jwt - auth 现在兼容 2.0.0 版本的 pyjwt, 我会颠簸 pyjwt 的版本在下一个版本后, 我测试在 fastapi - jwt - auth, 🙏

When I use PyJWT 2.0.0,This error will be reported

AttributeError: 'str' object has no attribute 'decode'

On 1.7.1, The code is fine

IndominusByte commented 3 years ago

Thanks for the report, I will fix this issue soon thanks 🙏