Conflicing App Proxy Paths

Hi guys,

I was curious what would happen if two apps use the same app proxy subpath on the storefront, but want to forward to different Proxy URLs. Because I couldn’t find anything about this online, I decided to try it out and share my results.

Scenario:

  • App1 claims app proxy path /apps/app_proxy_conflict/ and redirects to URL1
  • App2 claims app proxy path /apps/app_proxy_conflict/ and redirects to URL2
  • A shop installs both apps

Result:

  • The app that installs first wins and successfully claims the subpath, i.e. /apps/app_proxy_conflict/ redirects to URL1
  • After uninstalling App1, the app proxy is removed and /apps/app_proxy_conflict/ goes 404, which breaks App2 :frowning:

Let’s see if this helps anyone in the future. :wink:

Regards
Markus

I believe they may have updated this behavior since your post.

I was testing this last week, and in my case, App2 ended actually using /apps/app_proxy_conflict-1/ as its proxy path.