Identityserver4: Decrease log level for failed user login

Created on 13 Nov 2017  路  5Comments  路  Source: IdentityServer/IdentityServer4

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?

core feature request

Most helpful comment

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!

All 5 comments

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);

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.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

leksim picture leksim  路  3Comments

leastprivilege picture leastprivilege  路  3Comments

garymacpherson picture garymacpherson  路  3Comments

createroftheearth picture createroftheearth  路  3Comments

osmankibar picture osmankibar  路  3Comments