Top Level redirect in the Shopify node-express template stopped working 3/6/2023 (or so)

Hello all,

For some reason the top level redirect code stopped working. The result is that when some stores load, nothing happens. It appears that they need to re-auth. Here’s the page that the app template returns to the client during ‘top level auth’:

export default function topLevelAuthRedirect({ apiKey, hostName, shop }) {
return `

`; }

I have not modified the code since it was created by the CLI. The ‘redirect.dispatch()’ apparently does nothing.

I’ve been able to debug in the browser with Chrome devtools and copied the value of

https://${hostName}/auth/toplevel?shop=${shop}’. When I paste the url into the browser it launched the shopify app and works from then on (I suspect it successfully acquired a ne token).

I’ve tried for several days to get to the bottom of the issue without success, including various app-bridge versions. Any advice would be appreciated

Regards

Hi @dbleeker did you find a solution for this?

Hi @dbleeker ,

If you’d like to post an issue report about App Bridge the public GitHub repository’s issue board is at https://github.com/Shopify/shopify-app-bridge/issues.

Hope you have a great day

Hi, I’m having the same problem. Any solution?