Implementing a session timer in Constellation

So I have found this conversation How to incorporate sessiontimer logic in constellation

Which it’s pretty clearly stated that the logic for pxSessionTimer from UI Kit is not present in Constellation.

First off is this even planned for future versions of Constellation?

If not, there is a mention that this could be achieved with a custom component. We are comfortable with this approach however I am really struggling to find where this custom component would even be referenced so that it acts as a pop up the same as the old Session Timer.

Thanks in advance for the help!

You are right. Inciting dx component in a place where it is loaded globally and everywhere is not standard. But there is a way to it using pyPortalIcon rule gives you possibility to inject your custom js code.

Herer is example: #pega #constellation #claudecode #genai #developerexperience | Kamil Janeczek

custom search component that is always loaded on toolbar - it is not possible is standard way.

The difficulty is that in this custom js code you need to use PCore to load given component. At this point of time I have it working but not in a state that I can share.

Hello Kamil,

Thank you for your Answer!

It sounds like there is no easy or straightforward way to do this. As this seems to be a widely requested feature is it something that might be considered by PEGA to be added OOTB?

Thanks.

@DimitarD16640265 What feature are you missing in the ootb time-out (Constellation)?

Anyway, we build a DX component which handles the time-out across browser tabs. This to ensure people are logged out once this has reached the configured time to do so & they aren’t kicked out when a tab runs out of time. So feasible yes

Hello,

Since we already have several UI kit applications, our users are used to a session timer kicking in at certain time to show the user they are about the be logged off. Looks like this

This is the constellation version;

Introduced in 24.2 Pegasystems Documentation

But there were a number of bug-fixes in 25 I believe.

Yes this one we have but logging out seems to not work correctly as it just immediately logs you back in, due to some cache maybe?

You say bugfixes, was that handled because we are on 25.1 and it is not working properly there?

Hello again,

I assume this automatic login is related to this problem Constellation does not display custom screen after logout | Support Center

And yes we use a custom SSO.