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?

貢獻者指南