Shopify embedded app forcing https
Usually I can develop an embedded app locally by "allowing unsafe scripts" in chrome, as it even mentions in the embedded app sdk docs. However on Friday I noticed that it was no longer working and Shopify is trying to load the app iframe as https://localhost:3000 (https://localhost:3000) which doesn't work of course. Is there some change in the way Shopify handles embedded apps or is there anything else I can do?
Shopify employee here. We've pushed a change today to allow http URLs for localhost. Other URLs are still upgraded to https. I do encourage you however to change your development environment to use https. This will allow you to avoid some basic problems when you push your change to production, for example with mixed content.
Didn't find the answer?
Our community is visited by hundreds of Shopify development professionals every day. Ask your question and get a quick answer for free.
Find the answer in similar questions on our website.
Write quick answer
Do you know the answer to this question? Write a quick response to it. With your help, we will make our community stronger.