What's your biggest current challenge? Have your say in Community Polls along the right column.
Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

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

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

hieutherealest
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
Community Manager
3108 344 895

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