I was testing my app by entering the url: host/auth?shop=name-of-shop.myshopify.com it works and redirects me to the installation page (it exchanges the code with a valid access token and redirects to nextsjs (frontend) upon completion). But shopify QA team rejected my app because when i login to my partners dashboard and go to the app and click on "test on development store" then i chose the store, it spins undefinitively and does not redirect to the installation page. The link is host/?hmac=###?shop=###.myshopify.com?timestamp=###
How to fix that?
console gives me app bridge error shopOrign must be provided as i added app bridge to my nextjs and added a parameter:
shopOrigin = cookies.get('shopOrigin') which is set within /auth on nodejs when it succeeds i do: