Skip to content

Give a descriptive error if we receive an unknown JWK  #376

Closed

Description

@jcjones

Right now, if a client has a JWK that was never registered, the SA returns an error from GetRegistrationByKey which gets transformed into "Unable to read/verify body" by web-front-end.go:295.

We need to special-case the key not being found and return a more useful error message so that the client can be more helpful.
See Client Issue #503 and Client Issue #507

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions