Open Closed

Call the api if user is logged in into the system or on login #5643


User avatar
0
imranStem created

I need to call some api when user log in into the system, the page is not refreshing so app initializer will not trigger. Is there any event to trigger when user gets login into the system?

  • ABP Framework version: v7.1.0
  • UI Type: Angular
  • Database System: EF Core (SQL Server, Oracle, MySQL, PostgreSQL, etc..)
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes
  • Exception message and full stack trace:
  • Steps to reproduce the issue:

3 Answer(s)
  • User Avatar
    0
    Anjali_Musmade created
    Support Team Support Team Member

    Hi,

    If you need a trigger when user is authenticated you can use the configstate.

  • User Avatar
    0
    Anjali_Musmade created
    Support Team Support Team Member

    Hello imranStem,

    Please do let us know if this solution has worked for you?

    Can we close this ticket if your query is resolved? Please confirm.

    Awaiting for your valuable response.

    Thank You, Anjali

  • User Avatar
    0
    imranStem created

    Yes, Its working fine. Thank You

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