App proxy redirect auth/login - Remix Template

Topic summary

Main issue: A Shopify app built with the Remix template returns a 302 redirect to /auth/login when an App Proxy endpoint tries to serve a React component, while the same endpoint works correctly when returning Liquid or JSON.

Context: The developer is using Shopify App Proxy (to surface app content on the storefront) and wants to render a React component instead of Liquid/JSON. When attempted, the response is not rendered; it immediately redirects to the authentication login path.

Evidence: Multiple screenshots are provided indicating the 302 status and redirect behavior (images are central to illustrating the problem).

Request: Looking for confirmation and guidance from anyone who has successfully rendered React components on the storefront via App Proxy, including how they achieved it.

Status: No solutions or workarounds provided yet; the question remains open with unresolved authentication/redirect behavior.

Summarized with AI on December 11. AI used: gpt-5.

Hello everyone,

I’m working on a Shopify app using the Remix template and implementing App Proxy. While everything works fine when returning liquid or json, I encounter an issue when trying to return a React component. Instead of rendering the component, I get a 302 status followed by a redirect to the auth/login path.

I’ve searched through the forums but haven’t found a clear solution to this problem. Has anyone successfully rendered React components on the storefront using App Proxy? If so, could you please share how you achieved this?

Thanks in advance for any help or guidance!