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)
-
0
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 yourYourProjectName.HttpApi.Host
project folder -
0
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
-
0
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
-
0
Hi,
By ignoring, do you mean i shouldn't be bothered that it is written "LoginFailed"?
Kind Regards, Göklp
-
0
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