# Incorrect User Details Returned After Logout and System Time Change

**URL:** <https://community.auth0.com/t/incorrect-user-details-returned-after-logout-and-system-time-change/189886>\
**Category:** Get Help\
**Tags:** login-experience, new-universal-login-experience\
**Created:** [July 30, 2025, 7:18am UTC](https://community.auth0.com/t/incorrect-user-details-returned-after-logout-and-system-time-change/189886 "2025-07-30T07:18:40Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![exchanga](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/exchanga/32/65100_2.png) [@exchanga](https://community.auth0.com/u/exchanga)\
**Post date:** [July 30, 2025, 7:18am UTC](https://community.auth0.com/t/incorrect-user-details-returned-after-logout-and-system-time-change/189886/1 "2025-07-30T07:18:40Z")

</div>

**Message:**

In our React Native application, we are using Auth0 for user signup and login. We observed the following issue:

1. User **X** logs in using email and password.
2. User **X** logs out.
3. After logout, the device’s system time is manually changed.
4. Then, user **Y** logs in using different credentials.

Despite user **Y** successfully logging in, the application still returns user **X’s** profile details instead of user **Y’s**.

This issue appears to be related to device time manipulation affecting session or token caching. Please advise on how to prevent this and ensure accurate user data is returned after each login.

Raise this support ticket to Autho

---

<div class="post-metadata">

**Author:** ![vlad.murarasu](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/vlad.murarasu/32/72793_2.png) [@vlad.murarasu](https://community.auth0.com/u/vlad.murarasu)\
**Post date:** [July 31, 2025, 3:15pm UTC](https://community.auth0.com/t/incorrect-user-details-returned-after-logout-and-system-time-change/189886/3 "2025-07-31T15:15:48Z")

</div>

Hi @exchanga,

This issue could be caused by incomplete session clearing, where User **X** ’s tokens is not properly removed from the device’s storage upon logout. When the device time is altered, the old, cached token may appear valid, causing the application to fetch the wrong user’s data.

To fix this, try explicitly clearing all locally stored session data during the logout process using the `clearSession` method from the `react-native-auth0` library.

Have a good one,  
Vlad

---

<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 14, 2025, 3:16pm UTC](https://community.auth0.com/t/incorrect-user-details-returned-after-logout-and-system-time-change/189886/4 "2025-08-14T15:16:25Z")

</div>

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