Forum Discussion
TariqHussain, Thanks.
We are calling below api from third party using ajax post request, still user is not getting logout.
http://community.lithium.com/community-name/restapi/vc/authentication/sessions/logout
can you please let us know anything is missing.
The above call will not terminate the existing user session, it's only meant to terminate an API session (basically invalidating the current "restapi.session_key" value).
There's no API call you can use to logout the community session from an external system, you're also not specifying if your community uses Lithium Authentication or it has an SSO integration and in case which type of integration.
What you could do is redirect the user browser to the default logout url:
${webUi.getUserLogoutPageUrl("/")}
Or you can reach out to Support and they can check with Professional Services on the effort to build a custom logout endpoint for your community.
Related Content
- 4 years ago
- 5 years ago
- 12 years ago