is there a difference between flask-jwt and flask-jwt-extended?
Asked Answered
S

2

12

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?

Sternutation answered 12/3, 2019 at 10:3 Comment(0)
O
31

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.

Ohaus answered 12/3, 2019 at 14:7 Comment(2)
thanks for this concise answer, you saved me a lot of time ^_^Sternutation
yet do you have any tutorial, guide or tips on how to implement them with templates rendering? I'm trying to use them here link but I'm struggelingSternutation
P
0

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.

Pricket answered 24/2, 2022 at 13:23 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.