tiangolo / fastapi

FastAPI framework, high performance, easy to learn, fast to code, ready for production
https://fastapi.tiangolo.com/
MIT License
73.13k stars 6.16k forks source link

Use python-jose instead of pyjwt #11695

Closed utopianf closed 3 weeks ago

utopianf commented 3 weeks ago

Since FastAPI suggests using python-jose we should use from jose import jwt

tiangolo commented 3 weeks ago

📝 Docs preview for commit 7d2dc5a7d56132e65f78340263685b264adab042 at: https://aa058787.fastapitiangolo.pages.dev

utopianf commented 3 weeks ago

I found #11589 that FastAPI is suggesting to use PyJWT? Then I think this change was not needed so far.