Skip to content

WriteRevocationResponse returns no error when there is an internal error #644

@mitar

Description

@mitar

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething is not working.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions