go-kit/kit

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

Open

#947 创建于 2020年1月10日

在 GitHub 查看
 (1 评论) (0 反应) (0 负责人)Go (27,422 star) (2,446 fork)batch import
help wanted

描述

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?

贡献者指南

ErrSignatureInvalid from jwt-go lib should be handled by jwt parser · go-kit/kit#947 | Good First Issue