Able to log in aem author instance with same user at the same time using 2 separate browsers | Community
Skip to main content
Level 3
June 15, 2023
Solved

Able to log in aem author instance with same user at the same time using 2 separate browsers

  • June 15, 2023
  • 1 reply
  • 753 views

Hi Team, 

 

Is there any configuration in aem author to allow only one user to login in same time.

 

Thanks

 

 

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

Short answer No. 

The AEM default login relies on tokens that are stored on the client side, that's why you can log in in 2 separate browsers with the same users at the same time.

If you need to change this behavior to allow a user to log in just once, you would have to create a custom Authentication Handler which will check if the user is already with a session open. To check if the session is opened, you can use something like this: https://www.aemtutorial.info/2021/11/generate-reports-for-users-last-log-in.html 

 

Fore more info check these links:

https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/how-to-create-custom-authentication-handler/m-p/238421 
https://kbwebconsult.com/authentication-handler-in-aem-custom-approach/

 https://www.aemtutorial.info/2021/11/generate-reports-for-users-last-log-in.html 

 

1 reply

EstebanBustamante
Community Advisor and Adobe Champion
EstebanBustamanteCommunity Advisor and Adobe ChampionAccepted solution
Community Advisor and Adobe Champion
June 15, 2023

Short answer No. 

The AEM default login relies on tokens that are stored on the client side, that's why you can log in in 2 separate browsers with the same users at the same time.

If you need to change this behavior to allow a user to log in just once, you would have to create a custom Authentication Handler which will check if the user is already with a session open. To check if the session is opened, you can use something like this: https://www.aemtutorial.info/2021/11/generate-reports-for-users-last-log-in.html 

 

Fore more info check these links:

https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/how-to-create-custom-authentication-handler/m-p/238421 
https://kbwebconsult.com/authentication-handler-in-aem-custom-approach/

 https://www.aemtutorial.info/2021/11/generate-reports-for-users-last-log-in.html 

 

Esteban Bustamante