Parent: #735 (Connector Hub)
Phase 3 — Gmail, Google Calendar, Outlook via OAuth device-flow and Playwright browser automation.
Scope
Add OAuth-based connectors and Playwright-backed connectors for apps where browser login is the fastest path. Ships alongside #635 messaging adapters in v0.23.0.
Deliverables
Backend
Frontend
Validation
Dependencies
Plan reference
docs/plans/connector-hub.mdx §9 Phase 3
Parent: #735 (Connector Hub)
Phase 3 — Gmail, Google Calendar, Outlook via OAuth device-flow and Playwright browser automation.
Scope
Add OAuth-based connectors and Playwright-backed connectors for apps where browser login is the fastest path. Ships alongside #635 messaging adapters in v0.23.0.
Deliverables
Backend
src/gaia/ui/connectors/oauth.py— device-flow helpers for Google and Microsoftinitiate_device_flow(provider)→{verification_url, user_code, expires_in}poll_device_flow(provider)→ saves tokens on success, handles expiryGET /api/connectors/oauth/{name}/device-initandGET /api/connectors/oauth/{name}/device-pollendpointsFrontend
DeviceFlowDialog.tsx— shows verification URL + user code + polling spinnerValidation
Dependencies
Plan reference
docs/plans/connector-hub.mdx§9 Phase 3