4 ms·
OK so I am just about to write some code for storing tokens. What is the definitive answer for where I should store them? Based on this blog post, the answer s
by hoodoof 10y ago
OK so I am just about to write some code for storing tokens.
What is the definitive answer for where I should store them? Based on this blog post, the answer seems to be "Web Storage"
- slykat 10y agoThere's no definite answer. For example, if you want a site that functions without javascript (i.e. degrades gracefully) you need cookies. Localstorage requires JS while cookies do not. It really depends what kind of web app you are developing.