fastapi-jwt-auth icon indicating copy to clipboard operation
fastapi-jwt-auth copied to clipboard

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

Open silicology1 opened this issue 5 years ago • 3 comments

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.

silicology1 avatar Dec 27 '20 13:12 silicology1

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 🙏

IndominusByte avatar Dec 28 '20 03:12 IndominusByte

是的, 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

iasukas avatar Jan 21 '21 09:01 iasukas

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

IndominusByte avatar Jan 21 '21 15:01 IndominusByte