# Find user with high number of refresh tokens

**URL:** <https://community.auth0.com/t/find-user-with-high-number-of-refresh-tokens/91441>\
**Category:** Get Help\
**Created:** [September 28, 2022, 7:26am UTC](https://community.auth0.com/t/find-user-with-high-number-of-refresh-tokens/91441 "2022-09-28T07:26:31Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mohamed.safieddine](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/mohamed.safieddine/32/40297_2.png) [@mohamed.safieddine](https://community.auth0.com/u/mohamed.safieddine)\
**Post date:** [September 28, 2022, 7:26am UTC](https://community.auth0.com/t/find-user-with-high-number-of-refresh-tokens/91441/1 "2022-09-28T07:26:31Z")

</div>

I got an email from Auth0 stating that there is a user in my tenant that has more than 200 refresh tokens, and I don’t know how to find that user. Is there a way to filter users based on the # of refresh tokens?

---

<div class="post-metadata">

**Author:** ![rueben.tiow](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rueben.tiow/32/11646_2.png) [@rueben.tiow](https://community.auth0.com/u/rueben.tiow)\
**Post date:** [September 30, 2022, 8:52pm UTC](https://community.auth0.com/t/find-user-with-high-number-of-refresh-tokens/91441/3 "2022-09-30T20:52:42Z")

</div>

HI @mohamed.safieddine,

Welcome to the Auth0 Community!

> [@mohamed.safieddine](#):
>
> Is there a way to filter users based on the # of refresh tokens?

Unfortunately, there isn’t a corresponding endpoint or filter that can find out which user is responsible for owning more than X amount of refresh tokens. The only way to do so is to reach out to our Developer Support Team to export this information.

In this situation, I recommend changing the **Refresh Token Expiration** found on your Application settings. Specifically, you could lower the Absolute Lifetime and Inactivity Lifetime values such that it forces all issued refresh tokens to be invalidated and prompt the user to re-authenticate (e.g 1 second). This is most effective if you happen to know which applications are affected, or if you have a low number of applications.

> **[Configure Refresh Token Expiration](https://auth0.com/docs/secure/tokens/refresh-tokens/configure-refresh-token-expiration)**
>
> Learn how to configure the refresh token expiration lifetimes.

I hope this helps!

Please let me know how it works for you.

Thanks,  
Rueben

---

<div class="post-metadata">

**Author:** ![rueben.tiow](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rueben.tiow/32/11646_2.png) [@rueben.tiow](https://community.auth0.com/u/rueben.tiow)\
**Post date:** [October 4, 2022, 4:02pm UTC](https://community.auth0.com/t/find-user-with-high-number-of-refresh-tokens/91441/5 "2022-10-04T16:02:24Z")

</div>

Backward linking to the same question asked on [this](https://community.auth0.com/t/find-user-who-is-using-too-many-refresh-tokens/91746) post.

---

<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:** [October 18, 2022, 4:02pm UTC](https://community.auth0.com/t/find-user-with-high-number-of-refresh-tokens/91441/6 "2022-10-18T16:02:56Z")

</div>

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