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

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,