Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

[AEM Gems Webinar] Accelerating Experience Manager as a Cloud Service development with Rapid Development Environments

AEM last login time


Level 5

How to identify a user last logged in into AEM , In the given scenario AEM is connected with LDAP or IDP and the users are synced into AEM


Even if the users are authenticated in LDAP or IDP crx token will be created in AEM .
So can we try to get a valid crx token time as the last login time?
Please share which API can help to achieve this?

3 Replies


Community Advisor


AEM is REST based and does not have the concept of session. So there is no feature to track login or logout details.  Most of our customers use some kind of central authentication Ex- SSO hence no need arises to have such functionality built in.  However if needed you have the ability to implement such at a project level solution. Ex:- custom login modules or auth-handler by taking project specific constraints and requirements into account


Ratna Kumar.


Level 5

Yes i do understand and i am not speaking about  request sessions.

How about crx token? as this will be unique for each instance and that will any way decide the user login validity 

Is there a way to know crx token created time along with it is properties with some API's