App Bridge 2.0 Redirects to 404 Page After Auth

I am currently updating a functioning app to App Bridge 2.0. The problem I’m experiencing is that during the auth flow, Shopify now redirects to [Please Log In TEXT STRING)/?shop=store.myshopify.com

This leads to a 404 error page on the store front. The problem is that it is redirecting to /apps instead of /admin/apps. Does anyone know of a solution for this? It worked fine in App Bridge 1.x.

Others are facing issues with 2.0, try the https://shopifypartners.slack.com/ channel and look in #appdev and app-bridge channels.

Same problem!

Look my post here

Solution here: https://github.com/Shopify/shopify-node-api/issues/171

the solution is not obvious, rather than a solution, but common phrases that we have read many times, does this mean we need to do like this?

ctx.redirect(/?host=${host})

ctx.redirect(/?shop=${shop}?host=${host})

ctx.redirect(`/?shop=${shop}&host=${host}`);

don’t works, lead to 404 Page

After remaking _app.js with getting host from props, redirect now works properly