go-kit/kit

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

开放

#947 创建于 2020年1月10日

 (1 条评论) (0 个反应) (0 位负责人)Go (2,446 个派生)batch import
help wanted

仓库指标

星标
 (27,422 个星标)
PR 合并指标
 (30 天内没有已合并 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?

贡献者指南