App not redirecting to embedded version

dylan_nguyen
New Member
3 0 0

This hasn't happened in the past so not sure if something has changed in the flow recently but I'm not being redirected to the embedded version of our app when we access it through the apps list page.

The backend code is no different than what is shown in this tutorial https://shopify.dev/tutorials/build-a-shopify-app-with-node-and-react/embed-your-app-in-shopify#set-....  App and whitelist redirect urls are inputed like the tutorial but clicking on the app always takes us to the external app hosted at the ngrok url rather than the embedded app page.

 

Any clues?

Replies 4 (4)
achieveapplabs
Shopify Partner
609 41 95
If you’re using Shopify-express npm then use forceRedirect = true.
We make Shopify apps. Looking for Shopify Development? Let's chat
dylan_nguyen
New Member
3 0 0

@achieveapplabs wrote:
If you’re using Shopify-express npm then use forceRedirect = true.


We're not. The tutorial specifies to use only the following packages on the server:

koa @shopify/koa-shopify-auth dotenv koa-session isomorphic-fetch
achieveapplabs
Shopify Partner
609 41 95
In your partner dashboard is the app enabled for embedded im not sure about koa but I think they’re using app bridge to handle the redirect
We make Shopify apps. Looking for Shopify Development? Let's chat
dylan_nguyen
New Member
3 0 0

@achieveapplabs wrote:
In your partner dashboard is the app enabled for embedded im not sure about koa but I think they’re using app bridge to handle the redirect

Yup - it shows app is enabled for being embedded in the app extensions.