Connect to your users’ Google Drive accounts.
drive
.{{
to invoke the variable menu.
ExternalFilePicker
class to load Google’s JavaScript into your page and authenticate with your user’s connected Google Drive account.
To initialize the picker you will need your Google Drive API key and your Google Cloud project number. The Google Cloud project number is a unique, numerical identifier for your project. You can find it within the Google Cloud Console from the sidebar navigation under IAM & Admin section > Settings.
Response
object describing the user’s file picker interaction including an array of any files selected. Using this array of fileIds
, you can use the Proxy API to perform an authenticated proxy requests to download the files.
Note: Files containing binary content, including photos and videos, should be downloaded using the files.get
endpoint whereas Google Workspace Documents can be downloaded using files.export.
GET
request with a number of query parameters.https://passport.useparagon.com/oauth
with the same query parameters.https://passport.useparagon.com/oauth
as your Google Drive Redirect URL, you will need to update this value after implementing a Redirect Page: