Question

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***

Comments

Keep up to date on this post and subscribe to comments

April 6, 2019 - 8:25am

@ChrisKoyl Please provide your insights.

Pega
August 21, 2019 - 7:28am

Hi ,

Is the Timeout working fine without SSO login?

Have there any customizations made in the Pega timeout activity?

Thanks,

Pega
August 21, 2019 - 11:18am

Hi,

Could you please confirm the pega version.

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

Thanks.

Pega
September 27, 2019 - 1:36pm

Hi,

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:

 

SessionTimerPlacement.png

 

The section takes up no visible space.

 

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

 

 

SessionTimerParams.png

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.

 

Thanks