jwt vs simplejwt

Mahan Yarmohammad
2 min readMay 11, 2021

If you are new to Django this might make you a little bit confused that there is djangorestframework-simplejwt and also djangorestframework-jwt

So let’s dive in and see what is the difference:

An issue in djangorestframework-jwt published by it’s owner on Jul,2019 pointing out that the project is not being maintained anymore and also mentioned simplejwt project as an alternative .

So it is settled that simplejwt is the better and more updated choice

Also as a user mentioned in the issue’s comments in small to mid level applications there wasn’t any major difference.

And another question rises : what will happen to the old projects that used jwt?

to answer briefly there wouldn’t be any issues and jwt is still available but not maintained anymore so there may be some problems in the future.

if the project is still under development and you are using jwt it is recommended to switch to simplejwt.

Conclusion

simplejwt is what you need if your project isn’t an old one which switching to simplejwt cause a lot of problems.

--

--

Mahan Yarmohammad

I'm a passionate developer interested in web development, android development, AI, and blockchain.