I believe I did, but cant remember what I did. Earlier this year, I eventually rebuilt my app using the latest shopify flow through their node template here https://shopify.dev/docs/apps/getting-started/create as shopify-koa is obsolete and no longer support latest version of shopify api
Topic summary
Persistent OAuth redirect issue after updating shopify-koa-auth: the embedded app repeatedly sends users to https://admin/oauth/authorize? without the shop parameter. Tested via a Partner development store and ngrok.
Auth callback context shows a GET to /auth/callback with code, hmac, host, shop=hue-apps.myshopify.com, state, and timestamp. The server responds 404 Not Found; cookies include shopifyTestCookie, shopOrigin, and shopify_app_session, indicating OAuth flow starts but fails to complete.
A participant asked if the issue was resolved. The original poster said they likely fixed it earlier but don’t recall the exact steps.
Latest update: the app was rebuilt using Shopify’s current Node template from the official docs (shopify.dev). The poster notes shopify-koa is obsolete and no longer supports the latest Shopify API, implying migration resolved the redirects.
Outcome: no specific root cause or patch for shopify-koa-auth was provided. Recommended action is to migrate to Shopify’s supported template; the thread ends without a detailed fix for legacy setups.