Getting Uppy to work with Instagram

March 05, 2019

If you haven’t already heard about it, Uppy is a great library that solves the image upload problem. It has a great UX and a simple interface that makes customizing it a breeze.

There’s just one problem: integrations.

Using Uppy with 3rd party services

This is where things get icky. I was hoping I’d be able to use their demo code as is, because it seemed to work just fine on localhost. Problem is, as soon as I pushed it to production (at e.g. https://mydomain.com/ ) it stopped working. Most OAuth providers, including Instagram and friends, implement CORS — thereby limiting the websites that can use an authorized set of credentials.