Commit graph

44 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
Arjun
bfa8784619 clarify contribution steps 2026-02-23 10:23:14 +05:30
Arjun
83edc74d1d docs: update documentation for desktop app
Squash merge of docs22 branch - updates documentation to reference
desktop app, fixes contribution docs, and fixes docs JSON.
2026-02-23 09:53:06 +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
893ad87268
Fix/prebuilt cards updates (#263)
* updates to the twitter prebuilt cards

* update the default fallback model from gpt-4o to gpt-4.1
2025-09-16 15:29:48 +05:30
Tushar
d2c15f6b1f
Docs cleanup (#235) 2025-09-08 20:54:36 +05:30
Tushar
82982eaec8
docs: improve documentation content (#223) 2025-08-28 12:22:13 +05:30
Tushar
70a4d25254
Update Discord URL across documentation and components (#219) 2025-08-23 19:07:45 +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
akhisud3195
15438bbd31 Update docs with klavis and google exports 2025-06-04 23:50:59 +05:30
arkml
886005fd6e added docs for hosted mcp servers 2025-06-03 23:05:01 +05:30
arkml
148299d6f8 updated RAG docs 2025-05-20 16:11:44 +05:30
arkml
f73599b84c
Update using_rag.md 2025-05-20 12:56:37 +05:30
Ramnique Singh
fc4a9843a3 improve embedding index docs and setup 2025-05-09 09:38:09 +05:30
Ramnique Singh
b80eaffbe9 Add support for RAG 2025-05-09 09:38:08 +05:30
akhisud3195
14eee3e0c3 Add support for other providers - litellm, openrouter 2025-04-29 13:22:22 +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
arkml
06262d8097 minor fix to docs 2025-04-09 21:19:57 +05:30
arkml
6e7a794195 minor fix in docs 2025-04-09 21:15:43 +05:30
arkml
efc6fbcf45 updated docs 2025-04-09 20:55:26 +05:30
Ramnique Singh
66449caa8d
Update docs and readme 2025-04-03 19:58: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
3c05dc4fc8 Reorganize docs 2025-02-05 16:14:41 +05:30
akhisud3195
435ed965da Add system msg to docs 2025-02-05 15:22:21 +05:30
akhisud3195
206c807a6f Update docs to include managed service 2025-02-05 15:04:32 +05:30
akhisud3195
4c481eb34c Update docs 2025-02-03 14:38:54 +05:30
akhisud3195
d3ec50333f Update docs 2025-02-03 14:10:43 +05:30
akhisud3195
9948291dbd Update docs 2025-02-03 14:02:59 +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
akhisud3195
d16f1ca972 Update readmes 2025-01-31 19:38:05 +05:30
ramnique
d5ee0bec6a update logos 2025-01-31 17:25:12 +05:30
akhisud3195
174873883e Update docs 2025-01-31 17:08:04 +05:30
akhisud3195
767c6a6561 Fill license placeholder 2025-01-31 16:29:39 +05:30
akhisud3195
6e59de77aa Add more docs and validate tool configs 2025-01-30 15:50:03 +05:30
akhisud3195
ecc470d5a3 Add docs pages 2025-01-29 21:13:37 +05:30
ramnique
8c16243c2c add cname for docs 2025-01-29 11:49:37 +05:30
ramnique
cdc96e7ce3 update docs, add dockerfile 2025-01-28 17:17:58 +05:30
ramnique
50b7e72502 switch to mkdocs-material 2025-01-28 16:01:51 +05:30
ramnique
d5522feb05 add docs using mkdocs 2025-01-28 15:48:09 +05:30