-
Notifications
You must be signed in to change notification settings - Fork 117
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
Being able to disable webhook handling #748
Comments
Hi @LouiseEH thank you for opening the issue and for providing a workaround, we'll take a look 👍 |
We're labeling this issue as stale because there hasn't been any activity on it for 60 days. While the issue will stay open and we hope to resolve it, this helps us prioritize community requests. You can add a comment to remove the label if it's still relevant, and we can re-evaluate it. |
We're labeling this issue as stale because there hasn't been any activity on it for 60 days. While the issue will stay open and we hope to resolve it, this helps us prioritize community requests. You can add a comment to remove the label if it's still relevant, and we can re-evaluate it. |
We're labeling this issue as stale because there hasn't been any activity on it for 60 days. While the issue will stay open and we hope to resolve it, this helps us prioritize community requests. You can add a comment to remove the label if it's still relevant, and we can re-evaluate it. |
Overview
We are developing an app where each merchant might use a different set of webhooks, depending on which features of the app they use.
When shopifyApp.auth.path (/api/auth) is called, the app registers webhooks that are defined in the app and deletes all other webhooks. But as the number of webhooks to be registered differs from merchant to merchant, we cannot statically define a set of webhooks for all merchants that use the app.
For this reason it would be great if we could disable the webhook handling in shopify-app-js, so we can implement a custom webhook handling instead. Currently all of our registered webhooks will be removed when shopifyApp.auth.path (/api/auth) is called which happens e.g. when the merchant gets a new browser session (the merchant closes their browser and opens a new browser and access the app again).
I tried with the following, but it seems to be overridden:
The following does not work either:
The issue seems to be (at least, not limited to) that registerWebhooks is called on authCallback:
Kind regards,
-Louise
The text was updated successfully, but these errors were encountered: