Kong hmac-auth plugin body validation fails using protocol buffers

Hello there,

My team were using the hmac-auth plugin with config.validate_request_body set to true, and using the content-type: application/json, everything just works fine.

We updated our ClientApp to send and the API to accept protocol buffers using the content-type: application/x-protobuf and all de requests are rejected with 401 response failing the body validation.

We did not change anything in the way we build the header, just the content-type I think that is all correct. So my question is, this plugin is supposed to work with other types like protocol buffers?

Thanks


© 2019 Kong Inc.    Terms  •  Privacy  •  FAQ