Reputation: 486
I just learned about flask and JWT like a week ago so I could really use some help. Can someone explain the difference between flask-jwt and flask-jwt-extended?
Upvotes: 12
Views: 4088
Reputation: 1
Flask-JWT-Extended works pretty much similar way to Flask-JWT, In addition to which there are a lots of functionalities that it extends such as token refresh.
Also from Python 3.10, the support for flask-jwt has been removed.
Upvotes: 0
Reputation: 4177
Flask-JWT does not have as many features, has made some silly design choices, and has been abandoned for years (look at how many open pull requests there are on the github page). Flask-JWT-Extended has more features, is better documented, and is still actively maintained. If you are looking for a JWT extension for Flask, you should absolutely use Flask-JWT-Extended over Flask-JWT.
Upvotes: 31