Ok so I have actually writ about this before - creating app proxies should be easy and for some reason Shopifys changes have made it awful.
The current situation as I understand it:
Private Apps are misnamed and should just be called custom integrations! Additionally they should give you the option to create an URL Proxy so we developers don't have to much around with creating custom apps to enable this one feature.
Public Apps - what it says on the tin :) for the serious Appers. No complaints here.
Custom Apps in theory should have made life easier with an installation url that is coded to one store for installations.
However it fails on a couple of accounts:
I have now solved my problem by re-purposing an app I had installed a year ago, it wasn't getting used much and I can refactor out that data flow from the architecture.
So please can someone show me in simple baby steps how to make this work. Or better yet can Shopify just add URL proxies to the Private Apps :)
Thanks for the feedback. I just caught up on your previous post with Busfox.
From the previous thread it sounds like you were using proxies to get around CORS issues - do you have access to the server code? if so, could you allow cross-origin requests from specific domains? Or, if you're submitting a form, is AJAX necessary (traditional forms shouldn't be blocked by CORS)?
If neither of those suggestions are suitable, you'll need to proceed with a custom (or public) app to access app extensions (like proxies). I agree OAuth is quite the learning curve. A bunch of libraries can handle this flow for you - which language are you using?
My best guess now is that you actually have to deploy an app in order to install it to a shop. Or at least thats what I gather from this
That's right (or at least run it locally to get started). This should've always been the case for access to app extensions. Perhaps I'm not understanding - did you previous deploy a private app?
I have now solved my problem by re-purposing an app I had installed a year ago
Awesome! Can you elaborate on how you got around the blockers?
|an hour ago|