Login and logout problem after enabling SSO


(Brajmohan Kumar) #1

I have recently enabled SSO, after that when I log out from my discourse forum and then try to log in again then my account automatically logged in without entering my credential.

I know it is happening because of SSO, but I don’t want a user to log out from my forum when they are not logged in to my main website.

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?


(Felix Freiberger) #2

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 :slight_smile: