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?