Answer the question
In order to leave comments, you need to log in
How does jwt generate a token on the server?
Hello. I want to understand how jwt works. If you make authorization, without jwt. Those. when registering, we immediately generate a token and save it for the user. After authorization, if everything is OK, we give this token to the user. And save to the same localstorage. What is the difference between this method and jwt? And how you can do authorization in a mobile application is written in react native. We need to save the session in the database, let's save a token with a unique device id?
Answer the question
In order to leave comments, you need to log in
JWT on google.
It does not need to be stored, only validated.
This is the essence of it contains data for its own identification.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question