PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Friday, July 1, 2022

[FIXED] How can i run my embedded Shopify app locally

 July 01, 2022     shopify, shopify-app     No comments   

Issue

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

When i install it on http://www.localhost:3000/login enter 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.


Solution

You should use a service like:

  • Forward (EDIT: Forward has shutdown as of Jan 1, 2020)
  • Ngrok

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.



Answered By - Ernesto Andres Gutierrez
Answer Checked By - Willingham (PHPFixing Volunteer)
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing