© 2026 LinearBytes Inc.
Search posts, tags, users, and pages
Ronald Roe
Developer
I've done similar to Aakash, except I use sessionStorage to keep the token. Then, I have a componentWillMount() on security critical views that sends the token to the server for verification, and redirects if it's expired.