Questions and discussions about using the Shopify CLI and Shopify-built libraries.
I created a nodejs shopify dev app using the CLI and went through all the steps. When going to the app link (ngrok), the authentication is stuck in an infinite loop. Here is what the terminal reads:
backend | [shopify-api/INFO] Creating new session | {shop: ..., isOnline: false}
backend | [shopify-api/INFO] Registering webhooks | {shop: ...}
[followed by the part below, which is in an infinite loop]
backend | [shopify-app/INFO] Running ensureInstalledOnShop
backend | [shopify-app/INFO] App is installed and ready to load | {shop: ...}
backend | [shopify-app/INFO] Running validateAuthenticatedSession
backend | [shopify-app/INFO] Running ensureInstalledOnShop
backend | [shopify-app/INFO] App is installed and ready to load | {shop: ...}
backend | [shopify-app/INFO] Request session has a valid access token | {shop: ...}
backend | [shopify-app/INFO] Running validateAuthenticatedSession
Tried this on chrome and edge, same issue in both. Any idea how to fix this?
Hey @jonv2 - the best place to get assistance with this would be by opening an issue in the Shopify CLI repo on GitHub. If you haven't already opened an issue there and don't see any currently open issues that seem to be related, I'd recommend doing so with as much detail as possible, including any images and examples.
Hope this helps!
Developer Support @ Shopify
- Was this reply helpful? Click Like to let us know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog
Will do. Thank you!
Check this response: https://github.com/Shopify/cli/issues/933#issuecomment-1353510912