go-kit/kit

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

Open

#947 opened on Jan 10, 2020

View on GitHub
 (1 comment) (0 reactions) (0 assignees)Go (27,422 stars) (2,446 forks)batch import
help wanted

Description

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?

Contributor guide