transloadit / uppy-server

[DEPRECATED] 'Uppy Server' was renamed to 'Companion' and lives inside the Uppy repo no
https://github.com/transloadit/uppy/tree/master/packages/%40uppy/companion
MIT License
114 stars 27 forks source link

Stale authentication #94

Open arturi opened 6 years ago

arturi commented 6 years ago

When you connect to Instagram or Google Drive, and then wait for a while, leaving your tab open in the background, for example, authentication times out. But no UI indication for that is shown, so both the list of files for selection, and the files you’ve added are still there — you can select new files and start uploading, but it will error, because authentication is times out.

Proposal: check every X seconds (30?) that we are still authenticated, and update state, so that it will kick you out to the “authenticate” screen. Maybe remove files that are no longer accessible due to authentication, or ask to re-select too?

screen shot 2018-03-21 at 6 35 10 pm