D
D
daima2019-06-25 12:27:02
JSON Web Token
daima, 2019-06-25 12:27:02

Where to store tokens?

There is a spa application on react, there is a refresh token and an access token. But where to store them, so as not to be stolen? Unreliable in cookies and localstorage. In the editorial office (storage) they also do not advise.
Google - in the examples they consider cookies, local storage, and at the end they write that you shouldn't do this in serious applications: D

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Anton Spirin, 2019-06-26
@rockon404

In order not to be stolen, it is necessary to solve security issues, and you can store it in all the listed storages.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question