[Shopify app subscription] isAuthenticated false after return url

Steps: 1. Use open(result.confirmationUrl, '_top'); to open Shopify app subscription page. 2. User approve. 3. In GET-finish-payment route, I use await reply.redirect('/'); to redirect back to home page after shopify app subscription approval. But the console.log I see isAuthenticated false in App.tsx and the page is keep loading. Notes: I have followed shopify app bridge for the index.html. embedded = true in shopify.app.development.toml. package.json is like attached image. The current solution for me is instead of await reply.redirect('/'); I use await reply.type('text/html').send() like the attached image. But I feel like this is not the correct way to do it. I need help on this and I wonder which step I am doing wrong. Thank you for your time.
No description
No description
No description
No description
No description
No description
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?

[Shopify app subscription] isAuthenticated false after return url - Gadget Developers