Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

Login Token Expiration Issue

Avatar

Level 2

Hi All,

We are facing an issue where after the login token expiration, The user session is not getting expired it is still showing the user logged in state. 

 

Thanks,

Girish

1 Accepted Solution

Avatar

Correct answer by
Level 9

Hi Girish, 

I am assuming there is no caching. Please verify token is not auto renewed.   Can you attach the har following your use case and make sure preserve log in enabled in debugger. https://confluence.atlassian.com/kb/generating-har-files-and-analysing-web-requests-720420612.html

Thanks,

View solution in original post

9 Replies

Avatar

Level 2

Hi Prince,

We are not getting any error and we are able to see the login token is deleting after 30 minutes but the user state is still showing as logged in state.

Thanks in advance 

Avatar

Level 10

What AEM version are you using? 

Avatar

Level 10

Hi,

As prince stated, you can set time-out for login token as explained in this below link.

//http://aemfaq.blogspot.in/2014/10/how-to-set-timeout-for-login-token.html

~ Ratna.

Avatar

Level 9

if aem6 with crx2 then make sure slingid is configured correctly. If crx3 then looks strange please engage with official support team

Thanks,

Avatar

Level 4

Are you seeing any error log messages ?

Can you check this after installing latest SP for AEM 6.0 https://docs.adobe.com/docs/en/aem/6-0/release-notes-sp3.html

Avatar

Level 2
  I am not getting any errors in the log files. After 30 minutes the login token is getting deleted but it is not redirecting to the login page if we try to access any protected content.  Instead it is still showing logged in state. Any pointers how to debug on this issue ??? Thanks in advance .

Avatar

Correct answer by
Level 9

Hi Girish, 

I am assuming there is no caching. Please verify token is not auto renewed.   Can you attach the har following your use case and make sure preserve log in enabled in debugger. https://confluence.atlassian.com/kb/generating-har-files-and-analysing-web-requests-720420612.html

Thanks,