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
    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.

Learn More, Pay Less
33% OFF
All Trainings!
Get Your Deal
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.2.0-preview. Updated on January 09, 2026, 07:22
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.