Hi all,
I’m encountering the following error in the browser console:
Blocked script execution in ‘https://ext.greenreceipt.in//…&shop=greenreceipt.myshopify.com×tamp=1749035574’ because the document’s frame is sandboxed and the ‘allow-scripts’ permission is not set.
This error only occurs when I use my custom domain URL. Everything works perfectly when I run npm run dev which is using Cloudflare.
Even after deploying the app on my Linux server and running the same command (npm run dev), the app works fine with the Cloudflare URL. However, it fails when accessed via my own domain configuration.
I’m using the official Shopify Node.js app template from https://github.com/Shopify/shopify-app-template-node and followed the deployment guide thoroughly.
The app embeds correctly in the Shopify admin dashboard. It also installs and uninstalls without any issue. However:
-
No backend APIs are being triggered.
-
Even the auth.begin function isn’t called during installation.
-
The frontend appears correctly, but no backend interaction happens.
If anyone has faced a similar issue or has insights, please share suggestions on how I can resolve this.
Thanks in advance!