Pega Mashup Session Timeout in Single Sign on

The requirement is that, we have to timeout the Pega session, that we have in the screen (mashup). The user is login through SSO. The default Access Group time out with in combination with Authentication Service settings is not working. Any suggestion will be appreciated.

***Edited by Moderator: Pallavi to update platform capability tags***


Keep up to date on this post and subscribe to comments

April 6, 2019 - 8:25am

@ChrisKoyl Please provide your insights.

August 21, 2019 - 7:28am

Hi ,

Is the Timeout working fine without SSO login?

Have there any customizations made in the Pega timeout activity?


August 21, 2019 - 11:18am


Could you please confirm the pega version.

Also check the value of 'SessionTimeout' configured in the Pega Web Mashup Gateway Properties.


September 27, 2019 - 1:36pm


You can use a pxSessionTimer.

1) Copy pxSessionTimer section into application ruleset renaming to "SessionTimer<AppName>" for example.


2) Add the scripting functions for the type you want. I have attached both flavors here, just copy the JavacScript functions in each file and move to your SessionTimer<AppName> at the bottom of the existing <script> block. DON'T COPY THE ENTIRE CONTENT, just the functions!


Popup Window: pxSessionTimer_SM_WebSEAL_PRPC7.txt


Auto Logoff: SessionTimerLogoffWarning.txt 



3) Add the SessionTimer<AppName> section to the portal header. You want this to be in a static area that doesn't get reloaded.


Example of my 7.2.2 SessTimer<AppName> placement in pyPortalHeader section:




The section takes up no visible space.


4) Set the timeout values in the parameters page for the SessionTimer<AppName> section.




Popup Window:


  • Timeout = AccessGroup timeout
  • Warning Window = Minutes before timeout that warning JavaScript alert is fired.


Auto Logoff:


  • Timeout = How long the user can be inactive before they are logged off
  • Warning Window = Minutes before logoff a modal count down timer is displayed.