Open Closed

Issue with security log when first login by external login provider #1503


User avatar
0
nhontran created

ABP Framework version: v3.3.2 UI type: Angular DB provider: EF Core Identity Server Separated: yes

Hi, I found an issue when user does first login with external login provider, the security log has logged one record with Action = 'LoginFailed' even I had logged in successfully.

Another question, after I completed the registration for new user, the new user has been inserted into AbpUsers table but the flag IsExternal = 0, it should be 1, right?


2 Answer(s)
  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    I found an issue when user does first login with external login provider, the security log has logged one record with Action = 'LoginFailed' even I had logged in successfully.

    This is expected because of the need to full the email address

    Another question, after I completed the registration for new user, the new user has been inserted into AbpUsers table but the flag IsExternal = 0, it should be 1, right?

    See https://github.com/abpframework/abp/pull/8983

  • User Avatar
    0
    nhontran created

    Hi @liangshiwei, Ok, I see, I need to customize the external login callback method to create the external user before calling the ExternalLoginSignInAsync.

    Thanks for your support.

Made with ❤️ on ABP v9.1.0-preview. Updated on December 05, 2024, 12:19