# Is it possible to create short token with JWT

**URL:** <https://community.auth0.com/t/is-it-possible-to-create-short-token-with-jwt/113556>\
**Category:** Get Help\
**Tags:** support-center-self, support-center\
**Created:** [August 14, 2023, 8:00am UTC](https://community.auth0.com/t/is-it-possible-to-create-short-token-with-jwt/113556 "2023-08-14T08:00:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![graphtestql](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/graphtestql/32/49876_2.png) [@graphtestql](https://community.auth0.com/u/graphtestql)\
**Post date:** [August 14, 2023, 8:00am UTC](https://community.auth0.com/t/is-it-possible-to-create-short-token-with-jwt/113556/1 "2023-08-14T08:00:12Z")

</div>

Hey, for my web project, i want to create ‘‘reset token’’ for the users which forgot their password. Currently i’m using JWT to encode and decode the token and take actions for finding user and make changes about the. The problem is, JWT token has 3 parts and if i try to use useParams to get the token, it would be impossible. Can i create short (5-6 length) or just one part JWT token?

---

<div class="post-metadata">

**Author:** ![ty.frith](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ty.frith/32/58484_2.png) [@ty.frith](https://community.auth0.com/u/ty.frith)\
**Post date:** [August 15, 2023, 10:32pm UTC](https://community.auth0.com/t/is-it-possible-to-create-short-token-with-jwt/113556/3 "2023-08-15T22:32:48Z")

</div>

Hey there @graphtestql welcome to the community!

> [@graphtestql](#):
>
> Can i create short (5-6 length) or just one part JWT token?

Unfortunately JWTs are standardized and tend to be longer because they contain a header, a payload, and a signature. You might be able to use a different token format, although I’m not sure which one.

Alternatively, and I’m not sure if this helps you, but Auth0 does offer ways to change/reset a user’s password:

[https://auth0.com/docs/authenticate/database-connections/password-change](https://auth0.com/docs/authenticate/database-connections/password-change)

Hope this helps!

---

<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 29, 2023, 10:33pm UTC](https://community.auth0.com/t/is-it-possible-to-create-short-token-with-jwt/113556/4 "2023-08-29T22:33:13Z")

</div>

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