# "User Log out API" return success in response but user session still alive

**URL:** <https://meta.discourse.org/t/user-log-out-api-return-success-in-response-but-user-session-still-alive/91468>\
**Category:** SSO\
**Created:** [July 3, 2018, 11:50am UTC](https://meta.discourse.org/t/user-log-out-api-return-success-in-response-but-user-session-still-alive/91468 "2018-07-03T11:50:04Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

**Author:** ![kalpantkrishna\_patil](https://avatars.discourse-cdn.com/v4/letter/k/ce7236/32.png) [@kalpantkrishna\_patil](https://meta.discourse.org/u/kalpantkrishna_patil)\
**Post date:** [July 10, 2018, 8:29am UTC](https://meta.discourse.org/t/user-log-out-api-return-success-in-response-but-user-session-still-alive/91468/11 "2018-07-10T08:29:43Z")

</div>

Yes @riking, It has centralised error handling code. I have debugged this code and got **Response** - {“success”:“OK”}. Also hit this API from postman and got the same response - {“success”:“OK”}

---

_[View the full topic](https://meta.discourse.org/t/user-log-out-api-return-success-in-response-but-user-session-still-alive/91468)._
