K
K
Kirill2021-06-03 21:42:14
Django
Kirill, 2021-06-03 21:42:14

What is the use of putting JWT on django?

I read a couple of articles about jwt here and I think to tie it to django.
What is the difference (pros/cons) between using tokens or sessions from django?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Gornostaev, 2021-06-03
@kustiktm_kirill

Read more carefully or something more sensible. The good thing is that you can not access the database to check authorization. And the disadvantage of jwt in comparison with the session is that the session can be reset and data can be attached to it.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question