By: neha malhotra user 14 Jan 2018 at 8:06 a.m. CST

2 Responses
neha malhotra gravatar
Hi Team, I am trying to implement logout in which we are first calling : https://<gluu_host>/idp/logout.jsp using ajax call. It thus returns html response back but does not clear session.Below is request flow logout.jsp is GET call--->302 to https://gluu-test.imc.com/identity/authentication/finishlogout directly. As when after calling above url we call Application logout url, which clears application session but then user is again redirected back on same page with session managed and not on login screen. It means https://<gluu_host>/idp/logout.jsp is not killing Gluu session. Let me know if there is some other way we can try or is there issue in way of calling the logout.jsp url. Thanks, Neha

By neha malhotra user 16 Jan 2018 at 2 a.m. CST

neha malhotra gravatar
Kindly update

By Aliaksandr Samuseu staff 16 Jan 2018 at 7:43 a.m. CST

Aliaksandr Samuseu gravatar
Hi, Neha. >It thus returns html response back but does not clear session. Could you please elaborate? Why do you think it doesn't? Please generate HAR file containing **full** flow you have issues with. Here is some clues how to do it: [link](https://support.cloudflare.com/hc/en-us/articles/203118044-How-do-I-generate-a-HAR-file-) (Please use Firefox for this, Chrome generates incomplete HARs). Don't forget to set "Persist logs" checkbox, otherwise only the last page's trafic will be captured.