go-kit/kit

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

Open

#947 aberto em 10 de jan. de 2020

Ver no GitHub
 (1 comment) (0 reactions) (0 assignees)Go (2.446 forks)batch import
help wanted

Métricas do repositório

Stars
 (27.422 stars)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

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?

Guia do colaborador