Support Article
Single Sign-On (SSO) logoff redirects back to portal
SA-11599
Summary
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.
Resolution
This issue is resolved through the following Support Article:
SA-5901 at PDN: http://pdn.pega.com/node/268636
Published July 15, 2015 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.