Skip to content

ErrSignatureInvalid from jwt-go lib should be handled by jwt parser #947

Open

Description

@icamys

I'm playing around with jwt errors handling and I found out that there is a HS256-specific error in jwt-go library that is returned as inner error by the go-kit parser. I believe that this error should be handled by the parser and ErrTokenInvalid should be returned.

Any thoughts?

Activity

  1. peterbourgon commented on Mar 20, 2020

    @peterbourgon
    Member

    I don't know enough about JWT to make an authoritative judgment. I'd be happy to review a PR.

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions