golang-jwt / jwt

Go implementation of JSON Web Tokens (JWT).
https://golang-jwt.github.io/jwt/
MIT License
6.98k stars 335 forks source link

Fix incorrect error return #371

Closed ss49919201 closed 7 months ago

ss49919201 commented 8 months ago

Error returned by SigningMethodHMAC.Sign is incorrect. Implemented error handling consistent with other signing methods.

oxisto commented 7 months ago

Sorry for the delay on this, I will have a look at this this weekend to check with consistencies for other signature methods.