Answer the question
In order to leave comments, you need to log in
Where to store JWT token in isomorphic application?
Hello.
Previously, the JWT token was always stored in localStorage, and when entering the site, depending on whether the token exists or not, it is redirected to the authorization page.
But what about server rendering? Where to save the token?
Answer the question
In order to leave comments, you need to log in
In cookies, for example, or in a session, or in some analogue of all this.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question