Include error description into invalid_grant
validation result in TokenRequestValidator
#1390
Labels
invalid_grant
validation result in TokenRequestValidator
#1390
Which version of Duende IdentityServer are you using?
7.0.6
Which version of .NET are you using?
.Net 8
Describe the bug
There is no error description in the validation result model when the return error is
invalid_grant
To Reproduce
During refresh put a refresh token that is longer than
InputLengthRestrictions.RefreshToken
, but applicable for everyinvalid_grant
result.Expected behavior
Besides having logs, it would be better to have
errorDescription
in the validation result.That way clients won't need to reach out to us for an explanation of what has happened during the action since
errorDescription
will be supplied.Also, it will help applications with
zero-log
policy.Log output/exception with stacktrace
n/a
Additional context
n/a
The text was updated successfully, but these errors were encountered: