Uppy: Can't authenticate with third-party providers in IE

Created on 5 Apr 2019  ·  2Comments  ·  Source: transloadit/uppy

I tried to authenticate with Instagram & Google Drive, and couldn't make it.

Screen Shot 2019-04-05 at 16 33 55

Instagram/Google confirmation windows opened, then closed when I authorized Uppy, but in the Uppy window, nothing has changed.

Bug Companion

All 2 comments

Facing similar issue with nothing changing in the client side after authorizing Uppy companion app. Although my issue is in Chrome and probably some config that is missing, it lead me to look through Uppy's code and find that they use postMessage to communicate back to the client window.

Check this https://javascript.info/cross-window-communication
data
The data to send. Can be any object, the data is cloned using the “structured cloning algorithm”. IE supports only strings, so we should JSON.stringify complex objects to support that browser.

Now Uppy seems to be sending it as a JSON (check @uppy/companion/lib/server/controllers/send-token.js) which could possibly be the reason for your failure.

Thanks for the research @serverdevil! Fix will be in the patch release later today

Was this page helpful?
0 / 5 - 0 ratings