Closed ghost closed 2 years ago
Hello @jwixel, thanks for that but there is no requirement to use json decoder there. If you want to do so, you can already customize how the header is compared (see the headerDecoded[]byte): https://github.com/kataras/jwt/blob/da1ee79b9db12bd50748fee8a6e8047014414501/_examples/basic/rs512-verify/main.go#L21-L28
This PR includes a workaround for the issue outlined in #9 .