# Not being logged out after session ends

**URL:** <https://community.auth0.com/t/not-being-logged-out-after-session-ends/94397>\
**Category:** Get Help\
**Tags:** api, login, auth0\
**Created:** [November 14, 2022, 4:34pm UTC](https://community.auth0.com/t/not-being-logged-out-after-session-ends/94397 "2022-11-14T16:34:23Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mstart](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/mstart/32/33316_2.png) [@mstart](https://community.auth0.com/u/mstart)\
**Post date:** [November 14, 2022, 4:34pm UTC](https://community.auth0.com/t/not-being-logged-out-after-session-ends/94397/1 "2022-11-14T16:34:23Z")

</div>

I’m having some issues where my login status doesn’t match my session. It seems that after my session runs out my status remains as logged in and when I input my username and password it actually logs me out (this also happens if I switch browsers and login again using the same credentials). This is definitely something I don’t want our customers experiencing. Is there a something I can do about this?

---

<div class="post-metadata">

**Author:** ![remus.ivan](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/remus.ivan/32/68771_2.png) [@remus.ivan](https://community.auth0.com/u/remus.ivan)\
**Post date:** [February 5, 2025, 12:48am UTC](https://community.auth0.com/t/not-being-logged-out-after-session-ends/94397/3 "2025-02-05T00:48:50Z")

</div>

Hi @mstart

Thank you for posting your question on our Community page and sorry for the late reply.

If your session is configured in your tenant as a **persistent** one users remain logged in because the application session is not cleared when the Auth0 session expires, so a call to the `/logout` endpoint is required after the inactivity timeout.

As for the Non-Persistent sessions remaining active after the expiration lifetime of the session, you can check more on [this Knowledge Article](https://community.auth0.com/t/why-users-remain-logged-in-after-the-inactivity-timeout/87161).

I hope this helped,  
Remus

---

<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:** [February 19, 2025, 12:49am UTC](https://community.auth0.com/t/not-being-logged-out-after-session-ends/94397/4 "2025-02-19T00:49:30Z")

</div>

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