You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
plugin(connectors): Google Drive data source connector #9003
Allow users to connect a Google Drive account as a knowledge base data source. Files in selected folders or shared drives are automatically indexed into a KB collection.
What Users Want
OAuth2 'Connect Google Drive' flow in KB settings
Select specific folders or shared drives to index
File types: Google Docs (exported as text), Sheets, PDFs, DOCX, MD
Incremental sync: only re-index changed files
Disconnect and re-sync controls
AutoBot Fit
AutoBot's connector framework (autobot-backend/connectors/) already has base.py, registry.py, and scheduler.py in place. This is a new google_drive_connector.py following the same pattern as notion.py. OAuth2 tokens stored in the secrets system. Plugin installable from MarketplaceView.vue.
Acceptance Criteria
OAuth2 connect/disconnect flow in KB settings UI
Folder/drive picker after authentication
Initial full index completes within reasonable time for typical workspace
Incremental sync picks up changes within 15 minutes
KB collection tagged with source drive/folder metadata
ConnectorCredentialStore.get_access_token(secret_id, owner_id) — returns a valid access token, auto-refreshing + rotating the stored secret. Call this at sync time instead of holding a static token.
Endpoints POST/GET /knowledge_base/connectors/oauth/{provider}/authorize|callback already store tokens via the secrets API and return a secret_id.
Frontend ConnectorOAuthButton.vue (+ KnowledgeRepository.startConnectorOAuth) — drop into this connector's config step; emits connected with the secret_id to attach on create.
To enable a provider, set its AUTOBOT_<PROVIDER>_OAUTH_CLIENT_ID/SECRET. Surfacing this connector type in the create wizard (ConnectorType union + backend _SUPPORTED_TYPES + per-type form) is this issue's scope.
Closed — merged to Dev_new_gui via PR #10265. Google Drive is now creatable end-to-end: added to the create-API allowlist + frontend ConnectorType; ConnectorConfigModal gdrive form with the reusable OAuth Connect button (provider "google") that obtains+stores a token bundle and attaches it by secret_id; sync resolves a live access token via get_access_token (auto-refresh, ADR-007 §10). 43 backend + 8 frontend tests; i18n backfilled across all 10 locales. Criteria met: OAuth connect, mydrive/shared, incremental sync (existing), file-type extraction (existing).
Activity
feat(connectors): add Google Drive knowledge base connector (#9003)
feat(connectors): add Google Drive knowledge base connector (#9003)
feat(connectors): OAuth authorize+callback flow & auto-refresh resolv…
feat(connectors): OAuth authorize+callback flow & auto-refresh resolv…
mrveiss commentedon Jun 13, 2026
Gate #9019 OAuth plumbing landed (PR #10087) — build on it instead of rolling your own:
knowledge/connectors/oauth_flow.py— provider registry (Google/Microsoft/GitLab), PKCE, authorize URL, code exchange, refresh.ConnectorCredentialStore.get_access_token(secret_id, owner_id)— returns a valid access token, auto-refreshing + rotating the stored secret. Call this at sync time instead of holding a static token.POST/GET /knowledge_base/connectors/oauth/{provider}/authorize|callbackalready store tokens via the secrets API and return asecret_id.ConnectorOAuthButton.vue(+KnowledgeRepository.startConnectorOAuth) — drop into this connector's config step; emitsconnectedwith thesecret_idto attach on create.To enable a provider, set its
AUTOBOT_<PROVIDER>_OAUTH_CLIENT_ID/SECRET. Surfacing this connector type in the create wizard (ConnectorTypeunion + backend_SUPPORTED_TYPES+ per-type form) is this issue's scope.feat(connectors): OAuth authorize/callback flow + auto-refresh resolv…
fix(i18n): backfill gdrive connector keys across all locales (#9003)
feat(connectors): surface Google Drive connector in create API + UI w…
mrveiss commentedon Jun 17, 2026
Closed — merged to Dev_new_gui via PR #10265. Google Drive is now creatable end-to-end: added to the create-API allowlist + frontend
ConnectorType;ConnectorConfigModalgdrive form with the reusable OAuth Connect button (provider "google") that obtains+stores a token bundle and attaches it bysecret_id; sync resolves a live access token viaget_access_token(auto-refresh, ADR-007 §10). 43 backend + 8 frontend tests; i18n backfilled across all 10 locales. Criteria met: OAuth connect, mydrive/shared, incremental sync (existing), file-type extraction (existing).