# Where to store JWT token?

**URL:** <https://community.auth0.com/t/where-to-store-jwt-token/66771>\
**Category:** JWT.io\
**Tags:** jwt, api\
**Created:** [July 25, 2021, 8:29pm UTC](https://community.auth0.com/t/where-to-store-jwt-token/66771 "2021-07-25T20:29:43Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![amarudemonn](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/amarudemonn/32/30740_2.png) [@amarudemonn](https://community.auth0.com/u/amarudemonn)\
**Post date:** [July 25, 2021, 8:29pm UTC](https://community.auth0.com/t/where-to-store-jwt-token/66771/1 "2021-07-25T20:29:43Z")

</div>

Lets say I have an api that generates jwt tokens for me via /auth url so I get the token back and I have the SPA in any front end framework like vue, react, etc. so how and where do I actually store the token?

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [July 26, 2021, 5:32pm UTC](https://community.auth0.com/t/where-to-store-jwt-token/66771/3 "2021-07-26T17:32:14Z")

</div>

Hi @amarudemonn,

Welcome to the Auth0 Community!

Here is a doc that lays it out in the context of Auth0:

> **[Token Storage](https://auth0.com/docs/secure/security-guidance/data-security/token-storage)**
>
> Learn how and where to store tokens used in token-based authentication.

Let me know if you have specific questions about it.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [August 23, 2021, 4:32pm UTC](https://community.auth0.com/t/where-to-store-jwt-token/66771/4 "2021-08-23T16:32:46Z")

</div>

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.
