To use Google Drive you must pass Google's Tier 2 Security Assessment

Wow, nice work @cognettings on implementing the file picker API, thanks for sharing!

I’ve been using Uppy with self-hosted Companion Drive for 4 years and just got the notice from Google that we need to move to filepicker or go through their security verification process. It seems like we have 90 days to comply.

Based on the steps you’ve outlined, it sounds like the File Picker returns some file meta data, file link, and an access token. With the link and access token, are you doing the actual file transfer on your PHP server so the file is sent from Drive to S3 via server, rather than retrieving the file to client-side and uploading back to server?

We’re using Uppy as part of a mobile app and also a web experience, so it would be nice to keep things server-side if possible. Great to know that the file picker approach is possible.

Are there any other tips you’d recommend when implementing? We’re on an older version of Uppy with a node express server and using S3. I’m guessing we could do a similar thing to what you did in PHP. Thanks