Expand my Community achievements bar.

SOLVED

How to capture Login events with SAML and SSO Authentication Handler

Avatar

Level 3

Hi All,

We have an website running where AEM publishers are configured with SSO Authentication handler and SAML Authentication Handler. Intranet users are Authorized with SAML authentication and external users are authorized to application with SSO Authentication Handler with header name configured. Both the flows are working fine without issues.

Now we want to capture the user login events and write to DB to enable one of the Reporting feature with Tableau.

The question how can achieve this? Is there any hook(OSGI service or Sling event) which we can customize or override after every successful  login to capture the login events?

 

 

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

Every successful login creates a token which is stored at [1]

 

So, you can use this console to track all the user info

 

 

Stored TokensStored Tokens

 

Then, use the uuid to find the user:

 

UUID in CrxdeUUID in Crxde

 

[1] http://<host>:<port>/system/console/tokenmgr

View solution in original post

1 Reply

Avatar

Correct answer by
Employee Advisor

Every successful login creates a token which is stored at [1]

 

So, you can use this console to track all the user info

 

 

Stored TokensStored Tokens

 

Then, use the uuid to find the user:

 

UUID in CrxdeUUID in Crxde

 

[1] http://<host>:<port>/system/console/tokenmgr