Skip to main content

Google Drive

Google Drive is a web-based file storage and synchronization service developed by Google.

Authentication Types

Google Drive supports 2 authentication methods:

  • OAuth - Create your own Google Cloud OAuth app. Every user connects with their Google account.

    • Pros: Full control, per-user tracking, production-ready
    • Cons: Requires Google Cloud Console setup
  • Instant OAuth - Use Willow's pre-configured Google app for the fastest setup.

    • Pros: Fastest setup, no configuration needed
    • Cons: Limited scopes, not recommended for production

Setting up OAuth

  1. Go to https://console.cloud.google.com/

Google Cloud Console - API Library

  1. Create a new project or select an existing one

  2. Go to APIs & ServicesLibrary, search for "Google Drive API", and click Enable

  3. In the left sidebar, go to APIs & ServicesOAuth consent screen

  4. Configure your OAuth consent screen with the required information

OAuth consent screen configuration

  1. On the Scopes page, add the Drive scopes you need:

    • https://www.googleapis.com/auth/drive (full access)
    • https://www.googleapis.com/auth/drive.readonly (read-only)
    • https://www.googleapis.com/auth/drive.file (files created by the app)
  2. Go to APIs & ServicesCredentials

  3. Click Create CredentialsOAuth client ID

  4. Select Web application

  5. Under Authorized redirect URIs, add:

    • For SaaS deployments: https://{org}.mcp-s.com/{org}/api/auth/callback
    • For On-Premise deployments: {connectUrl}/{org}/api/auth/callback
  6. Click Create

  7. Copy the Client ID and Client Secret

  8. In Willow, paste the Client ID and Client Secret

  9. Select the same scopes you configured

  10. Click Save Changes

On this page