Why do many people not recommend using JWT?
Volodymyr
My article is open to everyone; non-member readers can click this link to read the full text.
If you often look at online tutorials for building projects, you’ll notice that many of them use JWT.
But is it really safe?
Why do so many people advise against using it? This article will provide you with a comprehensive understanding of JWT and its pros and cons.
What is JWT?
Here is the official website: JSON Web Tokens — jwt.io
This is what JWT is.

JWT stands for JSON Web Token.
If you’re not familiar with JWT, don’t worry! They’re not that complicated!
You can think of JWT as a piece of JSON data that you can verify to confirm that the data comes from someone you trust.
Of course, we won’t go into how it’s implemented here, but if you’re interested, you can look into it yourself.
Now, let’s talk about its process:
When you log in to a website, the website generates a JWT and sends it to you.