Answer the question
In order to leave comments, you need to log in
Multiple sessions in jwt sql database?
I am making user authorization functionality. There is only one user in the system, but there can be several authorizations for this user from different devices. Is it correct to create a separate table for jwt tokens?
That is, with each request to the server, a search will take place in this token table, and if it finds it, then access is allowed.
Answer the question
In order to leave comments, you need to log in
JWT is not used that way. Tokens do not need to be stored at all.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question