Answer the question
In order to leave comments, you need to log in
How to synchronize data?
In my jwt, which group the user belongs to (user, banned, administrator, etc.) is stored. I can't figure out what to do when updating this data. After all, the token stores one thing, and another in the database.
Answer the question
In order to leave comments, you need to log in
I duplicated in a cookie. Every n minutes based on the token I check this data. If they have changed, then I generate a new token.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question