kit icon indicating copy to clipboard operation
kit copied to clipboard

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

Open icamys opened this issue 6 years ago • 1 comments

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?

icamys avatar Jan 10 '20 14:01 icamys

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

peterbourgon avatar Mar 20 '20 13:03 peterbourgon