App not redirecting to embedded version

Highlighted
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?

0 Likes
Highlighted
Shopify Partner
349 25 52
If you’re using Shopify-express npm then use forceRedirect = true.
Custom Apps and Themes Support | Email us: hello@achieveapplabs.com | Follow us on Twitter @achieveapplabs | New Monthly Support by Achieve Applabs www.achieveapplabs.com
0 Likes
Highlighted
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
0 Likes
Highlighted
Shopify Partner
349 25 52
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
Custom Apps and Themes Support | Email us: hello@achieveapplabs.com | Follow us on Twitter @achieveapplabs | New Monthly Support by Achieve Applabs www.achieveapplabs.com
0 Likes
Highlighted
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.

0 Likes