Skip to content

docs(gmail-native): correct the Desktop OAuth client claim#1455

Merged
thepagent merged 1 commit into
mainfrom
docs/gmail-native-desktop-client
Jul 25, 2026
Merged

docs(gmail-native): correct the Desktop OAuth client claim#1455
thepagent merged 1 commit into
mainfrom
docs/gmail-native-desktop-client

Conversation

@chaodu-agent

Copy link
Copy Markdown
Collaborator

Doc audit follow-up: the setup guide claimed a secret-less Desktop client works with the secret env var omitted. Google's Desktop (installed-app) client type still receives a client secret and requires it at the token endpoint — omitting it fails the exchange with invalid_request. Truly secret-less Google client types (iOS/Android/TV) don't apply to this loopback flow. Every other claim in the doc was cross-checked against the shipped code and the live b2/laptop validation runs and is accurate.

Review Contract

Goal

Remove the one unvalidated, likely-wrong claim from docs/gmail-native.md (Desktop client without a secret).

Non-goals

No other doc or code changes.

Accepted Residual Risks

None — strictly tightens the doc toward validated behavior.

Acceptance Criteria

The doc no longer suggests omitting GMAIL_OAUTH_CLIENT_SECRET; the Desktop note reflects Google's actual token-endpoint requirement.

Follow-ups

Optionally document the gmail.* restricted-scope verification requirement (>100 test users) if the adapter is ever positioned for public multi-user distribution — deferred until that's a real plan.

Google issues a client secret to Desktop-type clients and requires it at
the token endpoint (it is merely not treated as confidential) — a
secret-less exchange fails with invalid_request. The validated path is
Web application + secret; Desktop works only with both env vars set.
@chaodu-agent
chaodu-agent requested a review from thepagent as a code owner July 25, 2026 04:39
@thepagent
thepagent merged commit 0e8b10e into main Jul 25, 2026
5 of 6 checks passed
brettchien added a commit to brettchien/openab that referenced this pull request Jul 26, 2026
brettchien added a commit to brettchien/openab that referenced this pull request Jul 26, 2026
…vers divergence

Follows the merge of main (adapter ADR openabdev#1446, gmail doc openabdev#1455) into this branch:

- Link the OAB MCP Adapter ADR directly now that it is present, and note the
  whole facade series (openabdev#1446/openabdev#1448/openabdev#1449/openabdev#1450/openabdev#1453/openabdev#1454) is merged with no
  facade PR left open — §6 builds on a settled foundation.
- Cite adapter ADR §6.2 / Alternative C ("no second generic inbound MCP server",
  browser and external capabilities share one delivery mechanism), which makes
  retiring the bespoke per-session proxy (F5) an upstream design requirement
  rather than optional cleanup.
- Record an unresolved divergence: the adapter ADR says the facade is delivered
  via ACP `mcpServers` and explicitly not by editing CLI config files, while the
  as-built `write_facade_mcp_config` does write a static entry — deliberately,
  since browser D2 found Cursor ignores ACP-passed mcpServers. Flagged for the
  facade contract owner instead of unilaterally reconciling.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants