Canvas KIT Signing Notifications

how to validate x-body-signature canvas request?

i’ve try to validate the signature using the body of the JSON request
and app client_secret, but value from the signature and result is not equals.

hash_hmac(‘sha256’, request()->all(), $clientSecret) != request()->headers(‘x-body-signature’)

Hey @BOT :wave:

Just to confirm - is the request data you’re passing into that function a string, or is it the full object? It should be a string in order to work for that function.

If so, can you send example code of exactly how you’re attempting to validate this?