Dedicated to the Hydrogen framework, headless commerce, and building custom storefronts using the Storefront API.
Hi
I'm unable to use my development store Shopify proxy app when creating requests from my storefront code(hosted in Netlify) or from Postman - it gets CORS error. When I go directly to my proxy link, it works fine.
Access to XMLHttpRequest at 'https://MYSHOPNAME.myshopify.com/a/proxy/test' from origin 'https://test.MYDOMAINNAME.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. CartItems.client.tsx:34 Error ========> U {message: 'Network Error', name: 'AxiosError', code: 'ERR_NETWORK', config: {…}, request: XMLHttpRequest, …} xhr.js:220 GET https://MYSHOPNAME.myshopify.com/a/proxy/test net::ERR_FAILED 302
Is it related somehow to development store password protection or pw page, which is not returning correct header?
Is there a workaround for development stores, for example add store password somewhere into request and bypass that check?