# L'API "User Log out" renvoie un succès dans la réponse, mais la session utilisateur reste active

**URL:** <https://meta.discourse.org/t/user-log-out-api-return-success-in-response-but-user-session-still-alive/91468>\
**Category:** SSO\
**Created:** [Juillet 3, 2018, 11:50 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:** 1

<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:** [Juillet 3, 2018, 11:50 UTC](https://meta.discourse.org/t/user-log-out-api-return-success-in-response-but-user-session-still-alive/91468/1 "2018-07-03T11:50:05Z")

</div>

Hi,  
I’m using SSO settings and calling User Log out API ([https://discourse.example.com/admin/users/{id}/log\_out](https://discourse.example.com/admin/users/%7Bid%7D/log_out)) from my application. Now API returns **Success** in response but user session still alive in browser. what should be the cause?

-Another issue is that Group is not getting set to User while passing from returnPayload.

---

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