go-kit/kit

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

Ouverte

#947 ouverte le 10 janv. 2020

 (1 commentaire) (0 réaction) (0 personne assignée)Go (2 446 forks)batch import
help wanted

Métriques du dépôt

Stars
 (27 422 étoiles)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

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?

Guide contributeur