Skip to content

Google Drive for any Google account: the owner picks the files the team may use #751

Todo

Description

@agentvivekkumar

Problem / motivation

A team member can reach Google Drive only through the Google Drive connector on the owner's Claude account. That works only when the business's files live in the same Google account the owner uses for Claude. Often they don't: the business runs on its own Google account (for example a shared office account), while Claude is signed in with a personal one. The team member then knows it needs Drive, but there is no way to connect the right account.

Mail already solved this with the app's own mailbox connection, which works for any address. Drive has no equivalent.

Example: a team member keeps a leads list in step with a sheet the business updates every day. The sheet lives in the business's Google account, not in the account behind the Claude login.

Proposed solution

What an owner could do:

  • In Settings, connect any Google account with one browser sign-in, then pick the files (or folders) the team may use. No Google Cloud setup.
  • Team members read and update only the picked files, and the changes land in the real files the owner and staff already use.
  • Team members can create new files (reports, sheets) and keep working on them, since files the app makes stay open to it.
  • Pick more files any time; take access back from the app or from the Google account's security page.

What it would not do:

  • No searching the whole Drive. A file the owner did not pick, including a new file staff add later, stays out of reach until it is picked.

How it could be built (from research into Google's docs and other open source tools):

  • One project owned Google OAuth client of type Desktop app, shipped in the installers. Sign in happens in the owner's browser with a loopback redirect (127.0.0.1 on a random port) and PKCE. Google treats desktop apps as public clients, so the client ID and secret protect nothing; inject them at build time to keep them out of the repo and away from secret scanners.
  • Scope drive.file only. Google classes it as non sensitive and recommends it. That avoids restricted scope verification, the yearly CASA security assessment and the 100 user lifetime cap for unverified apps. Only brand verification is left (app name and logo on the consent screen), which needs the website domain and a privacy policy page.
  • Google Picker for desktop apps: the app opens the OAuth URL with trigger_onepick=true; the owner picks files in the browser and the redirect carries picked_file_ids with the code. This picker permits only drive.file.
  • Tokens stay on the owner's computer, encrypted with Electron safeStorage (macOS Keychain, Windows DPAPI). Never sent to a server, which would bring server side rules of the security assessment into play.
  • Per member access like mailboxes (Access tab), checked by the hook and the broker, following the md-mail pattern.

Open questions to settle before building:

  • Does picking a folder grant its contents, including files added later?
  • Does the picker behave the same for personal Gmail and Workspace accounts, and for shared drives?
  • rclone reports Google will charge for requests made through shared, built in client IDs. Does that apply to drive.file clients?
  • This is an app built connection, an exception to preferring Claude connectors (as mail and GitHub are).

Alternatives considered

  • Full Drive scope on one shared client. Restricted scope: verification limited to certain app categories, a yearly paid CASA assessment if data or tokens touch a server, and a 100 user lifetime cap until approved. rclone is retiring its shared Drive client ID during 2026 for this reason.
  • Each owner creates their own Google Cloud project and client ID. Works without verification, but it is a long technical setup for a small business owner, and tokens from a project left in Testing expire after 7 days. Worth keeping only as an advanced option for whole Drive access.
  • Service accounts. They reach the service account's own Drive, not the owner's existing files.
  • Keep the Claude connector only. Works only when the business files are in the Claude account.

Sources:

Kept open until enough owners ask for it.

Activity

  1. added
    Require Customer
    on Nov 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Require Customer

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions