I created a Rails shopify app using the Shopify library https://github.com/Shopify/shopify_app . The App works perfect if I access it through foo.myshopify.com/admin/apps/foo but fails to load in the admin.shopify.com with the following error below
From this, it seems like it is a known issue https://github.com/Shopify/shopify-app-bridge/issues/160 . Is there a fix for this and how do I fix it when I used the Shopify app library https://github.com/Shopify/shopify_app ?
Yes, the linked article gives 3 requirements that must be met:
So, check your content security policy, ensure you are using App Bridge 3.0 and check your host parameter
Based upon your issue, my guess is you have the old
host
parameter, which is why the old link works, but not the new link: