Commit graph

16 commits

Author SHA1 Message Date
Ramnique Singh
50bce6c1d6 feat(oauth): switch Google OAuth from PKCE to authorization code flow with client secret
Previously, the Google OAuth integration used a PKCE-only flow (no client
secret). This switches to a standard authorization code flow where the user
provides both a Client ID and Client Secret from a "Web application" type
OAuth client in Google Cloud Console. PKCE is retained alongside the secret
for defense in depth.

Key changes:

- oauth-client.ts: discoverConfiguration() and createStaticConfiguration()
  now accept an optional clientSecret param. When provided, uses
  ClientSecretPost instead of None() for client authentication.

- oauth-handler.ts: connectProvider() takes a credentials object
  ({clientId, clientSecret}) instead of a bare clientId. Removed eager
  persistence of clientId before flow completion — credentials are now
  only saved after successful token exchange. Renamed resolveClientId to
  resolveClientCredentials to return both values from a single repo read.

- google-client-factory.ts: same resolveClientId → resolveCredentials
  rename. Passes clientSecret to OAuth2Client constructor and
  discoverConfiguration for token refresh.

- repo.ts: added clientSecret to ProviderConnectionSchema. Not exposed
  to renderer via ClientFacingConfigSchema (stays main-process only).

- IPC: added clientSecret to oauth:connect request schema. Handler builds
  a credentials object and passes it through.

- UI: GoogleClientIdModal now collects both Client ID and Client Secret
  (password field). Always shown on connect — no in-memory credential
  caching. Renamed google-client-id-store to google-credentials-store
  with a unified {clientId, clientSecret} object.

- google-setup.md: updated to instruct users to create a "Web application"
  type OAuth client (instead of UWP), add the localhost redirect URI, and
  copy both Client ID and Client Secret. Added credentials modal screenshot.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-10 00:43:34 +05:30
tusharmagar
5cf416c904 Update Google setup documentation images with new file paths and replace outdated screenshots 2026-02-10 17:18:47 +05:30
tusharmagar
ab828ee519 Update README.md to include new feature highlights and improve formatting 2026-02-10 17:12:28 +05:30
Tushar
d2c15f6b1f
Docs cleanup (#235) 2025-09-08 20:54:36 +05:30
Tushar
daaac23f76
Mintlify docs (#217)
* add the new docs

* Update to latest comprehensive docs from mintlify2 branch - Add conversations, jobs, triggers guides - Complete tools documentation - Enhanced RAG and agents docs - Add UI screenshots and images - Update contribution guide and quickstart

* added intro gif

* Update introduction.mdx with intro gif

* Add public/videos folder with Intro-Video.gif for proper Next.js/Mintlify serving

* updated gif

* Update introduction.mdx to have a working intro gif
2025-08-23 16:26:35 +05:30
arkml
886005fd6e added docs for hosted mcp servers 2025-06-03 23:05:01 +05:30
arkml
583a9bf02c update docs 2025-04-15 21:41:08 +05:30
Ramnique Singh
97feb71869 Update docs and simplify sdk 2025-04-10 00:24:57 +05:30
arkml
c338ec4dec update docs with new images and videos 2025-04-09 23:56:39 +05:30
Ramnique Singh
b9ffacc4f0 update docs favicon 2025-04-03 18:27:49 +05:30
akhisud3195
3b29c27f2e Update project page in docs 2025-02-05 16:17:51 +05:30
akhisud3195
435ed965da Add system msg to docs 2025-02-05 15:22:21 +05:30
akhisud3195
0b47361635 Fix python-sdk readme and add docs 2025-02-03 13:53:47 +05:30
akhisud3195
ccd21f2e7e Update docs 2025-02-01 12:39:00 +05:30
ramnique
d5ee0bec6a update logos 2025-01-31 17:25:12 +05:30
ramnique
d5522feb05 add docs using mkdocs 2025-01-28 15:48:09 +05:30