# \#stateless

**URL:** https://community.auth0.com/tag/stateless/653.md

[Latest](https://community.auth0.com/latest.md) · [Categories](https://community.auth0.com/categories.md) · [Tags](https://community.auth0.com/tags.md)

---

## [Logout stateless](https://community.auth0.com/t/logout-stateless/8563)

<div class="topic-metadata">

**Author:** [@tsarenkotxt](https://community.auth0.com/u/tsarenkotxt)\
**Replies:** 2\
**Last updated:** [December 18, 2017, 2:16pm UTC](https://community.auth0.com/t/logout-stateless/8563 "2017-12-18T14:16:07Z")

</div>

Hi we have a stateless application and we authorize the user using the jwt token, how to force the logout, without saving tokens that are already invalid after logout?

---

## [How to implement stateless session in rails api using auth0](https://community.auth0.com/t/how-to-implement-stateless-session-in-rails-api-using-auth0/7089)

<div class="topic-metadata">

**Author:** [@hemangj](https://community.auth0.com/u/hemangj)\
**Replies:** 1\
**Last updated:** [June 19, 2017, 8:18pm UTC](https://community.auth0.com/t/how-to-implement-stateless-session-in-rails-api-using-auth0/7089 "2017-06-19T20:18:26Z")

</div>

Any gem that can be used to integrate auth0 in rails api codebase that work seamlessly. We have used knock gem, but for every request it fires database query to get user information. Known issue: Everytime, every reque…
