Decrease log level for failed user login
Issue
There was an issue in Identity Server 3 about log level in TokenRequestValidator. I have the same problem at Identity Server 4, and it would be nice to decrease log level about failed user login to Warning or lower. Or maybe someone can suggest how to do it from my side?
Which exact message are we looking for?
@leastprivilege https://github.com/IdentityServer/IdentityServer4/blob/dev/src/IdentityServer4/Validation/TokenRequestValidator.cs
420 line:
LogError("User authentication failed: {error}", errorDescription ?? resourceOwnerContext.Result.Error);
https://github.com/IdentityServer/IdentityServer4/blob/3d738e96263d3b2728bdde9474715d9c392b2875/src/IdentityServer4/Validation/TokenRequestValidator.cs#L413-L420
OK - we'll discuss this. @brockallen
It would be neat to dial down some of the messages in the TokenValidator as well; I'd not have things like 'token expired' as errors.
Thanks!
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.