# Logging out of Node-Red authentication

**URL:** <https://discourse.nodered.org/t/logging-out-of-node-red-authentication/15069>\
**Category:** General\
**Created:** [3 September 2019 16:37 UTC](https://discourse.nodered.org/t/logging-out-of-node-red-authentication/15069 "2019-09-03T16:37:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jmacle](https://avatars.discourse-cdn.com/v4/letter/j/3ab097/32.png) [@jmacle](https://discourse.nodered.org/u/jmacle)\
**Post date:** [3 September 2019 16:37 UTC](https://discourse.nodered.org/t/logging-out-of-node-red-authentication/15069/1 "2019-09-03T16:37:31Z")

</div>

Hey there,  
There maybe a thread explaining but I can't seem to locate it, but I'm looking for a method to logout of node-red's admin authentication without having to wait for the token expiration. Can someone point me towards options to achieve this?

---

<div class="post-metadata">

**Author:** ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)\
**Post date:** [3 September 2019 19:17 UTC](https://discourse.nodered.org/t/logging-out-of-node-red-authentication/15069/2 "2019-09-03T19:17:52Z")

</div>

This isn't exposed in the UI - although probably should be.

The underlying API is there to revoke an access token: [https://nodered.org/docs/api/admin/oauth#revoking-the-token](https://nodered.org/docs/api/admin/oauth#revoking-the-token)

---

<div class="post-metadata">

**Author:** ![jmacle](https://avatars.discourse-cdn.com/v4/letter/j/3ab097/32.png) [@jmacle](https://discourse.nodered.org/u/jmacle)\
**Post date:** [3 September 2019 19:57 UTC](https://discourse.nodered.org/t/logging-out-of-node-red-authentication/15069/3 "2019-09-03T19:57:08Z")

</div>

Ok thanks @knolleary 🤠
