go-kit/kit

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

オープン

#947 opened on 2020/01/10

 (1 件のコメント) (0 件のリアクション) (0 人の担当者)Go (2,446 件のフォーク)batch import
help wanted

Repository metrics

Stars
 (27,422 個のスター)
PR merge metrics
 (30d に merged PR はありません)

説明

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?

コントリビューターガイド