Is the point of the article "seriously, stop using JWT" correct?

" seriously, stop using JWT " is the point of this article correct?

Jwt
Nov.24,2021

< H1 > No, I want to attract attention but I'm afraid of being shelled. < / H1 >
I'm sorry to be the title party. I don't deny the value of JWT, but it is often misused.

this topic is as funny as "php is the best language in the world".


Yes, my financial system basically does not give the client any login information. Jwt should be suitable for scenarios where cookie-session cannot be used, such as third-party service interfaces. I remember that the interface of Wechat's official account seems to be jwt


this article has been read a long time ago.
first of all, the title of the Party is very annoying, which has to be denied. The content of
still makes some sense. Session is indeed underestimated, and some scenarios are more appropriate and mature with session. Now that some developers don't like old things, there is no difference between good and bad technology. I suggest you just take a closer look at your choices. What is the information saved by


jwt? it is generally user id and some permission information, and the expiration time of jwt has been fixed when it is generated. Therefore, there are two problems in the local parsing of jwt in the micro-service environment:
one is the accuracy and real-time performance of the information, and the user resource service updates the relevant information of the user, how to update the jwt.
the second is that the user logs out and logs in, if the jwt is guaranteed to expire immediately.
if you have to check with redis every time, is it necessary for jwt to exist?

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e915eb-1352.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e915eb-1352.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?