Ad

How Can I Run My Embedded Shopify App Locally

- 1 answer

I created an embedded Shopify app and i am trying to run it on localhost.

When i install it on http://www.localhost:3000/loginenter image description here it redirects me to the admin panel even though i set my redirect link to http://localhost:3000/auth/shopify/callback

I want to know how i can get it working locally.

Ad

Answer

You should use a service like:

Those services allow you to have a url on internet that creates a tunnel to your localhost so you can test your webhooks, embedded pages and proxy pages with Shopify.

You have to configure the url that the service you choose gives to you on your Shopify App using the Shopify Partner portal.

I personally use Forward. With this service you get a domain like yourname.fwd.wf so you can have https://youname.fwd.wf/auth/shopify/callback and it will create a tunnel to your localhost.

Ad
source: stackoverflow.com
Ad