Questions and discussions about using the Shopify CLI and Shopify-built libraries.
Hi everyone, I'm trying to disable Embedded App when using Shopify CLI
Currently I tried turning off in Shopify Partner account, and turning off in code, but it still redirects to user's Shopify Admin page, is there any way to get rid of this Shopify Embedded issue?
Hi Hieupvdev4,
What steps did you take to "turn off in code"? In the shopify.js file did you set forceRedirect to false? In your index.js file, you might also need to create a custom middleware function that performs authentication and redirects the merchant. This forum post describes how some developers were able to migrate to non-embedded apps, and might give you some insight on what's required for your specific case.
Hope this helps,
Liam | Developer Advocate @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog