Is there a way to enable non-embedded app when using Shopify App Cli?

Hry
Shopify Partner
3 0 0

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?

Reply 1 (1)

Liam
Shopify Staff
2731 302 783

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