Open Closed

Angular: How to display login/logout history activities on Audit Logging screen #251


User avatar
0
drpdev2 created

Hi guys,

Regardings Audit Logging screen, I want to display login/logout history activities, such as when is login sucessul or failed, when is log out. Can we do it? I refered to https://docs.abp.io/en/commercial/latest/modules/audit-logging and https://docs.abp.io/en/abp/latest/Audit-Logging But the document is not point out yet how to enable the tracking of login and logout of all users on Audit Logging screen. Could you share me how to do it?

  • ABP Framework version: v2.9.0
  • UI type: Angular 9
  • Identity Server Seperated (Angular): yes
  • Exception message and stack trace:
  • Steps to reproduce the issue:

2 Answer(s)
  • User Avatar
    0
    alper created
    Support Team Director

    login / logout actions are not stored in audit logs by design. but I can see this can be requirement. I'm creating an issue for this so that, login logout actions will be stored in Audit Logs. Then you can query it from AbpAuditLogs table and write to your Angular client.

  • User Avatar
    1
    maliming created
    Support Team Fullstack Developer

    hi @drpdev2

    We plan to implement User security log feature.

    You can follow: https://github.com/abpframework/abp/issues/4492

    The commercial version will include the implementation of application services and UI.

    If you have any suggestions please discuss in github.

Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11