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 perform...
Hi @Nitesh-Chavan , Thank you for the response,I do not see tokens node for any user in publisher. I could see only in local/RDE, but not in Dev/Stage/Prod. I tried printing token node path, it says node does not exists.
Hi All,I'm currently working on a use case where I need to retrieve the token expiry time for the current user in AEM. Based on my understanding, this information is stored at the path: /home/users//.tokens/ (specifically, the rep:token.exp property).This works as expected in the Author and RDE envi...
Thank you @arunpatidar for the response. I have already gone through them, I have not found any custom way of extending AEM session as per need. I have mostly found suggestions to rely on OOTB TokenConfiguration.
Hi All,Does anyone have insights on how to programmatically extend an existing AEM session (login-token)? Most of the articles I’ve come across describe creating a new session with a fresh expiry, rather than extending the current one.I’m aware of the approach that involves updating the expiry time...
Thank you, Shivam, Amit, and Santhosh, for your responses. I truly appreciate you taking the time to help. @AmitVishwakarma — your solution worked perfectly. Thanks again for your support!
Thank you for your response.I have many different components on the page, and I would like to generate a JSON representation of all of them. Each component has its own individual Sling Model, but the page component itself uses a generic Sling Model. We want to avoid modifying the page model every ti...
Hi All, 1)I am trying to expose all components on the page in JSON format. When I use OOTB feature pageUrl.model.json, I see a lot of unnecessary data being shown, such as allowed components and other irrelevant details. I want to expose a clean JSON and have already implemented Sling Models using j...