# Clear Nextcloud Session - Token

**URL:** <https://help.nextcloud.com/t/clear-nextcloud-session-token/25769>\
**Category:** ℹ️ Support\
**Tags:** nc12\
**Created:** [January 12, 2018, 10:54am UTC](https://help.nextcloud.com/t/clear-nextcloud-session-token/25769 "2018-01-12T10:54:20Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Elias\_AS](https://help.nextcloud.com/letter_avatar/elias_as/32/5_5575768a8748004e209b776fc1b2916d.png) [@Elias\_AS](https://help.nextcloud.com/u/Elias_AS)\
**Post date:** [January 12, 2018, 10:54am UTC](https://help.nextcloud.com/t/clear-nextcloud-session-token/25769/1 "2018-01-12T10:54:21Z")

</div>

Hello,

Is there a way to set an expiry time for the Nextcloud’s access token or even clear the session ?  
When granting access, I want to redirect the user to the login page so that he enters credentials again after the token expires.

---

<div class="post-metadata">

**Author:** ![Elias\_AS](https://help.nextcloud.com/letter_avatar/elias_as/32/5_5575768a8748004e209b776fc1b2916d.png) [@Elias\_AS](https://help.nextcloud.com/u/Elias_AS)\
**Post date:** [January 15, 2018, 7:29am UTC](https://help.nextcloud.com/t/clear-nextcloud-session-token/25769/2 "2018-01-15T07:29:34Z")

</div>

Hi @tflidd , any idea ?

---

<div class="post-metadata">

**Author:** ![tflidd](https://help.nextcloud.com/letter_avatar/tflidd/32/5_5575768a8748004e209b776fc1b2916d.png) [@tflidd](https://help.nextcloud.com/u/tflidd)\
**Post date:** [January 16, 2018, 2:32pm UTC](https://help.nextcloud.com/t/clear-nextcloud-session-token/25769/3 "2018-01-16T14:32:47Z")

</div>

On your personal page you see all the sessions and you can revoke them manually. And you can remove app passwords as well.

For an automatically triggered session expiration, there is a bug report open:

> <https://github.com/nextcloud/server/issues/7864>

---

<div class="post-metadata">

**Author:** ![wwe](https://help.nextcloud.com/user_avatar/help.nextcloud.com/wwe/32/72963_2.png) [@wwe](https://help.nextcloud.com/u/wwe)\
**Post date:** [December 3, 2024, 9:09pm UTC](https://help.nextcloud.com/t/clear-nextcloud-session-token/25769/4 "2024-12-03T21:09:06Z")

</div>



---

<div class="post-metadata">

**Author:** ![wwe](https://help.nextcloud.com/user_avatar/help.nextcloud.com/wwe/32/72963_2.png) [@wwe](https://help.nextcloud.com/u/wwe)\
**Post date:** [December 9, 2024, 2:02pm UTC](https://help.nextcloud.com/t/clear-nextcloud-session-token/25769/5 "2024-12-09T14:02:34Z")

</div>


