go-kit/kit

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

Open

#947 aperta il 10 gen 2020

Vedi su GitHub
 (1 commento) (0 reazioni) (0 assegnatari)Go (2446 fork)batch import
help wanted

Metriche repository

Star
 (27.422 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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?

Guida contributor