Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Single Sign-On (SSO) logoff redirects back to portal



When user clicks logoff (with SSO implementation in place) system automatically redirects the user back to the application landing page (user portal).

Error Messages

Not Applicable

Steps to Reproduce

Logoff of the application to observe that you are redirected to the landing page.

Root Cause

The root cause of this problem is a defect in Pegasystems’ code/rules.

Starting in Pega 7 in the Advanced section of the Application rule (bottom of the Definition tab) there is a dropdown that affects logoff behavior:

When using SSO ensure that the Show Log Off Screen is selected if you do not want to be redirected back to the main portal. 

The Logoff stream used when "Show Log Off Screen" is selected is Web-Session-Return. This code contains a meta redirect back to the login screen that is incorrect. This will cause, regardless of the Log Off redirection setting, users to be redirected back to the login screen and when using SSO, users are automatically logged back in. This makes it look like they can not logoff. 


This issue is resolved through the following Support Article:

SA-5901 at PDN:

Published July 15, 2015 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us