AEM as a Cloud Service – Session Not Extending Despite refreshToken=true in Publishers
Hi all,
I’m using AEM’s out-of-the-box session extension feature configured through the OSGi service org.apache.jackrabbit.oak.security.authentication.token.TokenConfigurationImpl, with refreshToken=true.
This works as expected in my local author and RDE publisher environments. When a user performs activity after half the session timeout, the session is extended. I’ve verified this by checking the rep:exp property under /home/users/<user>/.tokens/<tokenId>, which gets updated correctly.
However, in the AEM as a Cloud Service (Dev Publisher) environment, this behavior is not observed:
- Sessions expire exactly at the timeout, regardless of user activity.
- I also don’t see any .tokens node under user home paths.
Is this a known limitation or behavior difference in AEM Cloud publishers?
Has anyone faced something similar, or found a workaround?
Appreciate any insights!
Thanks.

