Open Closed

External Login Provider Security Log Bug #9305


User avatar
0
gokalpmavis created

Dear Sir Madam,

We have enabled the external login provider. When the user successfully logged in for the first time it says "LoginFailed" in the security logs. However,in the second login it says "LoginSucceeded". I want the first login to be shown as successful login too. Can you please help with this? Kind Regards, Gökalp


5 Answer(s)
  • User Avatar
    0
    enisn created
    Support Team .NET Developer

    Hi,

    Can you check the running backend application logs and provide us? We need to get logs to understand what was going on in that case. If you're running your application on your local machine on localhost, you can directly check Logs/ folder in your YourProjectName.HttpApi.Host project folder

  • User Avatar
    0
    gokalpmavis created

    Hi,

    Thanks for the quick reply! It was stated by ABP team member that it is the expected behavior not a real failure => https://abp.io/support/questions/1503/Issue-with-security-log-when-first-login-by-external-login-provider I just want to learn how to change the default behavior. Should I still check the logs of this expected behavior?

    Regards, Gökalp

  • User Avatar
    0
    enisn created
    Support Team .NET Developer

    Hi Gökalp, It seems you're correct, you already found a previous incident and it's the expected working flow the external logic provider, so you can ignore it for now

  • User Avatar
    0
    gokalpmavis created

    Hi,

    By ignoring, do you mean i shouldn't be bothered that it is written "LoginFailed"?

    Kind Regards, Göklp

  • User Avatar
    0
    enisn created
    Support Team .NET Developer

    Hi,

    We cannot know what is the exact reason of this behaviour.

    Can you enable debug logs to check detailed logs to determine what is happenning exactly by following this steps:

    https://abp.io/support/questions/8622/How-to-enable-Debug-logs-for-troubleshoot-problems

Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.0.0-preview. Updated on June 20, 2025, 11:20