Hey @kinngh and thanks for your response ![]()
I’m not sure how to add a middleware to a remix project, I’m kind of new to Remix.run and to Shopify as well.
That being said, I did implement a function that checks the hmac (not using Shopify’s authenticate.webhook). and I when test it on real webhooks coming from Shopify, the signature is equal to the calculated signature and that works well.
When I’m calling the webhooks endpoint directly (not through the Shopify), I do get a 401 error (both when I use Shopify’s authenticate.webhook and when I calculate the signature myself and comparing it to the x-shopify-hmac-sha256 I receive).
But in both cases when I click the Re-Run button on the appStore review screen (Run a automated check for common errors section) I still get a failure on the Implement an [HMAC signature](https://shopify.dev/docs/apps/webhooks/configuration/https#step-5-verify-the-webhook) to verify webhooks section, and I have no idea why.
I mean - isn’t the all idea of that requirement to block webhook calls that are not coming from Shopify? if that’s the case, than I would think the test should be successful, but it’s not.
I guess I’m missing something… any ideas?