I am currently working on Theme App Extensions.
I need to send requests to my API, therefore i want to integrate the Shopify App Proxy for authentication, but i am facing difficulties.
The only response i get is an 404.
App configuration:
shopify.app.toml
[app_proxy]
url = "/proxy_route/settings"
subpath = "giftr-settings"
prefix = "apps"
I have also checked the proxy configuration in the app dev dashboard and the App-Proxy-URL path in the store admin
Dev Dashboard:
url: https:///proxy_route/settings
subpath: giftr-settings
prefix: apps
Store Admin:
https:///apps/giftr-settings
The issue persists in dev-mode and after i deploy the app to the Dev-Dashboard. The only thing i cannot test if this also happens in the “live” app, which is not in the Dev-Dashoard
All other threads with “app proxy not working in dev app” got resolved, so i do not think i face this problem.
But this one concerns me a little bit…
i was following the official doc (“linked below”) it mentions that i need an react router app.
Unfortunately my app runs with Nextjs.
Could this be my problem? If so, are there any workarounds, fixes i can make? (Besides changing the codebase to react router?
Looking forward to any responses.
Cheers