0

What is the best practice for storing JWT tokens: local storage, cookies or client memory?

I also know that there's a http-only cookie implementation, but http-only cookies are not accessible from client, so I don't know if it will be possible to implement in React.

Emiya
  • 1
  • 2
  • 1
    look similar, hope it will help: https://stackoverflow.com/questions/69294536/where-to-store-jwt-token-in-react-client-side-in-secure-way – Y_T Nov 25 '22 at 22:29

0 Answers0