# Login and logout problem after enabling SSO

**URL:** <https://meta.discourse.org/t/login-and-logout-problem-after-enabling-sso/88158>\
**Category:** SSO\
**Created:** [May 22, 2018, 3:57pm UTC](https://meta.discourse.org/t/login-and-logout-problem-after-enabling-sso/88158 "2018-05-22T15:57:39Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![fefrei](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/fefrei/32/119538_2.png) [@fefrei](https://meta.discourse.org/u/fefrei)\
**Post date:** [May 22, 2018, 6:25pm UTC](https://meta.discourse.org/t/login-and-logout-problem-after-enabling-sso/88158/2 "2018-05-22T18:25:03Z")

</div>

> [@Brajmohan\_Kumar](#):
>
> If a user is logging in to my forum then it should only for the forum not for the main website, So that when they log out then after login again they need to put credential to continue, how can I do so?

That sounds like it’s to be implemented entirely on the side of your SSO master application: When Discourse sends over a user to sign it, it should ask for credentials and redirect back without creating a permanent session.  
If your SSO master is an application you’ve developed yourself, you should be able to add this 🙂

---

_[View the full topic](https://meta.discourse.org/t/login-and-logout-problem-after-enabling-sso/88158)._
