Why does my application skip the installation page on the server?

Why does my application skip the installation page on the server?

Denys_S
Tourist
16 0 3

Снимок экрана 2022-10-18 в 21.19.29.png

Hello everyone, I ran into a problem with an application that is deployed to the server, the local application works correctly, but also, with the same code, does not work from the server. How it happens - you try to install an application from an affiliate program, it redirects to the application domain, then returns to shopify and gets to the page - this page does not exist, that is, in fact, it skips the application installation page, for some reason.
Application has never been installed
The base on the sale is empty
Session cleared

 bridge version - "@shopify/app-bridge-react": "^2.0.24"

The only way to get to the installation page is to enter it manually -
https://.../api/auth/shopify/login?hmac=...&host=...&shop=...&timestamp=...

Installation is in progress, but we do not see the application, an error comes from the frontend -
Uncaught TypeError: web_vitals_1.onLCP is not a function

And on the backend in the logs - CookieNotFound [Error]: Cannot complete OAuth process. Could not find an OAuth cookie for shop url: undefined

I ask you to help me solve this problem, because locally the redirect works correctly on njirok, but on ABC there is such a problem, I hope for help.

Replies 0 (0)