Aperto Chiuso

Abp security log does not capture login with external authentication provider #1073


User avatar
0
nhontran creato
  • ABP Framework version: v3.3.2
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace:
  • Steps to reproduce the issue:

Hi, I have configured application to login with external authentication provider, the login is successful but security log does not capture the record, I also tried with Google authentication provider, has the same issue. Could you help us take a look. Thank you.


10 risposte
  • User Avatar
    0
    maliming creato
    Team di supporto Fullstack Developer

    hi Is your login page mvc or angular?

    Can you share some screenshots?

  • User Avatar
    0
    nhontran creato

    Hi @maliming, my login page is using angular, anw, you can test with the steps below:

    Run the IdentityServer with Google authentication configured:

    Login successful:

    then logout and check the AbpSecurityLogs table, it only captures the logout activity:

  • User Avatar
    0
    alper creato
    Team di supporto Director

    I think it should capture that Google Authentication is used. and I guess it navigates to Google which we don't capture it.

  • User Avatar
    0
    nhontran creato

    Hi @alper, will someone fix it? is there any work around for this issue?

  • User Avatar
    0
    maliming creato
    Team di supporto Fullstack Developer

    hi nhontran

    I will check this.

  • User Avatar
    0
    maliming creato
    Team di supporto Fullstack Developer

    This issue will be fixed in v4.3.

  • User Avatar
    0
    nhontran creato

    Hi @maliming, is there any work around for this issue? we are using v.3.3.2 and dont want to upgrade to v.4.3 as it is a breaking change.

  • User Avatar
    0
    maliming creato
    Team di supporto Fullstack Developer

  • User Avatar
    0
    nhontran creato

    Hi @maliming, thanks for your prompt reply, I will override this method as per screenshot, thanks.

  • User Avatar
    0
    alper creato
    Team di supporto Director

    closing the issue since it's fixed in the dev branch. you can always reopen if you reproduce it after v4.3

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