Preflight checklist
Describe the bug
WriteRevocationResponse returns 200 HTTP status code on any error except ErrInvalidRequest and ErrInvalidClient. This is problematic because I just had some bad code (internal error) but the error response was 200. So nothing was being revoked in my implementation, but nobody really detected this for some time.
Reproducing the bug
Pass some regular error to WriteRevocationResponse.
Relevant log output
No response
Relevant configuration
No response
Version
0.42.0
On which operating system are you observing this issue?
No response
In which environment are you deploying?
No response
Additional Context
No response
Preflight checklist
Describe the bug
WriteRevocationResponsereturns 200 HTTP status code on any error exceptErrInvalidRequestandErrInvalidClient. This is problematic because I just had some bad code (internal error) but the error response was 200. So nothing was being revoked in my implementation, but nobody really detected this for some time.Reproducing the bug
Pass some regular error to
WriteRevocationResponse.Relevant log output
No response
Relevant configuration
No response
Version
0.42.0
On which operating system are you observing this issue?
No response
In which environment are you deploying?
No response
Additional Context
No response