# Issues using SSO in custom web app

**URL:** <https://meta.discourse.org/t/issues-using-sso-in-custom-web-app/77429>\
**Category:** Development\
**Created:** [6. Januar 2018 um 06:30 UTC](https://meta.discourse.org/t/issues-using-sso-in-custom-web-app/77429 "2018-01-06T06:30:49Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)\
**Post date:** [8. Januar 2018 um 06:42 UTC](https://meta.discourse.org/t/issues-using-sso-in-custom-web-app/77429/8 "2018-01-08T06:42:56Z")

</div>

> [@supernaturally](#):
>
> Create a checkbox inside of Discourse’s SSO settings that enables a dedicated endpoint for ‘nuking cookies & redirecting user to base url’ (ex. [forum.mycompany.com/nuke&redirect](http://forum.mycompany.com/nuke&redirect)). Basically, adding a user friendly setting for /logout with redirect to the base url.

There are security implications here if there is a magic URL that I can click to log me out using a GET request.

You already have an admin API endpoint for logging users out.

I think you are going to have to use a custom plugin here to achieve what you want to.

---

_[View the full topic](https://meta.discourse.org/t/issues-using-sso-in-custom-web-app/77429)._
