AEM last login time | Community
Skip to main content
varshsr
Level 5
October 17, 2016

AEM last login time

  • October 17, 2016
  • 2 replies
  • 4335 views

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

My POV

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?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

2 replies

Ratna_Kumar
Level 10
October 18, 2016

Hi,

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

// https://forums.adobe.com/thread/114566

Thanks,
Ratna Kumar.

varshsr
varshsrAuthor
Level 5
October 18, 2016

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

Ravi_Pampana
Community Advisor
Community Advisor
April 20, 2022

Hi,

 

Not sure if you already got it worked, just sharing below link which might help others in future

 

https://medium.com/tech-learnings/adobe-experience-manager-reporting-on-users-last-login-date-e2035021cb9e