Closed djedlajn closed 1 year ago
Note that this repo is no longer maintained and this issue will not be reviewed. Prefer the official JavaScript API library. If you still want to use Koa, see simple-koa-shopify-auth for a potential community solution.
Issue summary
I have various issues with trying to deploy the embedded app from behind a proxy.
The app does install from the generated link. But it can not register webhook upon registration.
All this is based on premise that I have TLD and I want to use a prefix when trying with TLD without prefix everything works as expected.
Here is the general overview of the architecture.
Shopify -> TLD ( traefik proxy ) -> node service
Here is the detailed log from the moment of loading the signed link from the partner's dashboard all the way to trying to load the application on the store.
Initialize the app
At this point, because of an internal server error, the app is not redirected but it is marked as installed on the shop admin panel.
Trying to load frontend yields this on the node side
And following on the Frontend
Here is the full
server.js
I have tried putting
verifyRequest
on the*
all route but that ends up with infinite redirects. Note this only happens when I try to use prefix.