TDV Adapter for Google Drive

Build 21.0.8137

Using OAuth Authentication

Use the OAuth authentication standard to connect to Google Drive. You can authenticate with a user account or a service account. The adapter facilitates this as described below.

Using a User Account to Authenticate to Google Drive

The user account flow requires the authenticating user to interact with Google Drive via the browser.

Embedded Credentials

See Embedded Credentials to connect with the adapter's embedded credentials and skip creating a custom OAuth app.

Custom Credentials

Instead of connecting with the adapter's embedded credentials, you can register an app to obtain the OAuthClientId and OAuthClientSecret.

When to Create a Custom OAuth App

Creating a custom OAuth app is optional as the adapter is already registered with Google Drive and you can connect with its embedded credentials. You might want to create a custom OAuth app to change the information displayed when users log into the Google Drive OAuth endpoint to grant permissions to the adapter.

Using a Service Account to Connect to Google Drive

Service accounts have silent authentication, without user authentication in the browser. You can also use a service account to delegate enterprise-wide access scopes to the adapter.

You need to create an OAuth application in this flow. You can then connect to Google Drive data that the service account has permission to access. See Custom Credentials for an authentication guide.

Creating a Custom OAuth App

See Creating a Custom OAuth App for a procedure.

Copyright (c) 2022 CData Software, Inc. - All rights reserved.
Build 21.0.8137