Expand my Community achievements bar.

SOLVED

Log out inactive AEM users automatically

Avatar

Level 2

Hi,

We want to configure AEM to automatically log out AEM users who are inactive for certain duration of time.

For example, AEM users who are inactive for 2 hours straight get automatically logged out, while other active users (specifically: users who are inactive for less than 2 hours) stay logged in.

AEM version is 6.5.8

 

In Apache Jackrabbit Oak TokenConfiguration, we've currently configured:

  • Token Expiration: 7200000 ms (= 2h)
  • Token Refresh: enabled

Also followed this article to enable Encapsulated token support in Adobe Granite Token Authentication Handler:
https://helpx.adobe.com/experience-manager/kb/login-session-refresh-not-working.html

 

We thought enabling Token Refresh will do the work, but still not working.

Any other steps we should take? Is it possible to configure this in AEM?

Thanks in advance

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

6.5
1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

Hi @akaria ,

 

You can make use of Oak login token session expiration.

 

The steps to do that can be found in the below link

How to set the Oak login token session expiration | Adobe Experience Cloud

 

Hope it helps!!
Thanks

View solution in original post

3 Replies

Avatar

Correct answer by
Employee Advisor

Hi @akaria ,

 

You can make use of Oak login token session expiration.

 

The steps to do that can be found in the below link

How to set the Oak login token session expiration | Adobe Experience Cloud

 

Hope it helps!!
Thanks

Avatar

Level 1

Hi @Bimmi_Soi @akaria

This seems to be working but it is logging me out for active session also after the time which I have configured is passed.

 

Do I have to do any setting specifically for "inactive" case.

 

Thanks in advance !!