Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stripe Webhook: event verification #3

Open
kylehotchkiss opened this issue Jul 7, 2017 · 2 comments
Open

Stripe Webhook: event verification #3

kylehotchkiss opened this issue Jul 7, 2017 · 2 comments

Comments

@kylehotchkiss
Copy link
Contributor

Since anybody can POST to the webhooks path, we should verify eventID with Stripe's API upon receiving an event

@ccorda
Copy link

ccorda commented Jul 7, 2017

They mention basic auth in their docs, what do you think about using that to help since FUP urls will be pretty guessable?

The mode determines whether test events or live events are sent to this URL; if you want to send both live and test events to the same URL, you need to create two separate settings. You may add as many URLs as you like, and basic access authentication is supported

They also have this https://stripe.com/docs/webhooks#signatures -- is that what you were thinking?

@kylehotchkiss
Copy link
Contributor Author

Signatures accomplishes exactly what we want, I didn't realize that was in there. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants