# Logout another user

**URL:** <https://community.weweb.io/t/logout-another-user/5517>\
**Category:** Tips and Hacks\
**Created:** [November 22, 2023, 11:28am UTC](https://community.weweb.io/t/logout-another-user/5517 "2023-11-22T11:28:04Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![carlo](https://avatars.discourse-cdn.com/v4/letter/c/c4cdca/32.png) [@carlo](https://community.weweb.io/u/carlo)\
**Post date:** [November 22, 2023, 11:28am UTC](https://community.weweb.io/t/logout-another-user/5517/1 "2023-11-22T11:28:04Z")

</div>

Hi everyone!

First of all, not sure if this is possible but is there a way we can “logout” another user to our web app? The idea is to remove the user’s access to the platform.

Any idea or feedback is highly appreciated. 😃

---

<div class="post-metadata">

**Author:** ![Broberto](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/broberto/32/5918_2.png) [@Broberto](https://community.weweb.io/u/Broberto)\
**Post date:** [November 22, 2023, 1:02pm UTC](https://community.weweb.io/t/logout-another-user/5517/2 "2023-11-22T13:02:37Z")

</div>

Remove the account, remove the access. Otherwise with Supabase, you can add a ban system, and check it in real time I think.

---

<div class="post-metadata">

**Author:** ![carlo](https://avatars.discourse-cdn.com/v4/letter/c/c4cdca/32.png) [@carlo](https://community.weweb.io/u/carlo)\
**Post date:** [November 22, 2023, 2:30pm UTC](https://community.weweb.io/t/logout-another-user/5517/3 "2023-11-22T14:30:16Z")

</div>

Thanks for this. I forgot to add that I’m currently using Xano as backend and auth method

---

<div class="post-metadata">

**Author:** ![raydeck](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/raydeck/32/384_2.png) [@raydeck](https://community.weweb.io/u/raydeck)\
**Post date:** [November 22, 2023, 11:56pm UTC](https://community.weweb.io/t/logout-another-user/5517/4 "2023-11-22T23:56:13Z")

</div>

Yes, you need to remove them from the user table in Xano or else introduce some step at the top of your API queries that check on the status of the user. Since weweb checks the authentication status by running auth/me, you could start by introducing code there that would let you identify a _persona_ as _non grata_. This is all for instant reaction.

In the fullness of time (by default 24 hours) you should expect your Xano token to age out. If you’ve marked them as deleted (or removed the record) they won’t be able to log in again or redeem for a new token when their current one expires.
