probot / smee-client

🔴 Receives payloads then sends them to your local server
https://smee.io
ISC License
440 stars 135 forks source link

Signature verification failing for Stripe events #325

Open pjain1 opened 1 month ago

pjain1 commented 1 month ago

I have been using smee client to forward stripe webhook events to my local app. However, signature verification keeps on failing, I am suspecting is it due to the JSON.stringify done here that might change the payload a bit ?

Uzlopak commented 1 month ago

This is definetly possible.

wolfy1339 commented 1 month ago

We have introduced a rawbody parameter in the recent iterations of the code to help with these kinds of issues.

The smee.io instance isn't controlled by us active maintainers. We'll have to reach out to get it updated.

Once the website is updated, this won't be an issue.

pjain1 commented 1 month ago

Thanks @Uzlopak and @wolfy1339 for quick response.

It would be great to get it fixed on smee.io. Anyways, we can host our own smee.io as well but I don't see smee-client accepting and forwarding the parameter since https://github.com/probot/smee.io/pull/55 is merged.

wolfy1339 commented 1 month ago

That is still an issue, see #320 and the linked PR