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?