This object is in archive! 

single sign on and logout

Archived Pavel K. 11 years ago

Hi there, we have a single sign on and the login works fine. When I log out of our main app I still stay logged in UR. Is there an easy way to set up a single sign off?

Best Answer
photo

Pavel,

The easiest way is to trigger UR logout url when user logouts from your app. The url is community.domain.com/logout

Replies (7)

photo
1

Pavel,

The easiest way is to trigger UR logout url when user logouts from your app. The url is community.domain.com/logout

photo
1

Thank you, Stas. That does solve a part of the problem. Is there also a way to set an automatic logout after a period of non-activity for those who don't log out and just leave the page?

photo
1

Pavel,

We don't have such feature available, so you need to think of mechanism of automatic url triggering after set period of time by identifying cookie of UR.

Maybe you'll have better idea of how to implement it.

What is the purpose ofautomatic logout from UR? It will be automatically logged out if browser is closed

photo
1

If an automatic log out after the browser is closed is the default behaviour, there must be something wrong in our settings as it doesn't happen. I close the browser, start it again and I am still logged into UR although I'm not logged in the main app.

photo
1

Cookie will expire while session is live. Depends on your server settings, it will expire when browser is closed (default server setting) or live depending on session.cookie_lifetime / session.gc_maxlifetime

photo
1

Yes, that should help.

Excellent support. As usual. Thanks a lot.

photo
1

You are welcome, Pavel :)

Replies have been locked on this page!