I have a doubt, it's better use jwt token or express-session in mern application?
In this moment i use jwt, but i can't find a method to get ad admin authorization safely.
And is better store user in localstorage or cookie?
Who is the best method?
Asked
Active
Viewed 58 times
0
zeltarave
- 33
- 5
-
Here is a good answer which explains both methods' pros and cons: https://stackoverflow.com/a/35059874/ – Eldemarkki May 28 '22 at 23:15