From 08b3e4e4e264ead0369e59e2f4252bc5987f3bf8 Mon Sep 17 00:00:00 2001 From: Guoliang Chen Date: Sun, 22 Nov 2026 13:10:40 -0800 Subject: [PATCH] docs: Gemini connects through a hand-registered OAuth client Co-Authored-By: Claude Mythos 5.2 --- CLAUDE.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/CLAUDE.md b/CLAUDE.md index aacfb71..d8d4542 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -181,7 +181,14 @@ AUD tag, expiry, and (with `--access-email`) the identity. - The service's AUD tag and team domain are flags on `wodify-mcp.service`. If the Access application is ever deleted and recreated, its AUD changes and the unit must follow. - Dynamic client registration only accepts redirect URIs on `chatgpt.com`, `claude.ai`, - `claude.com` and localhost. Another client needs its callback added to the Access + `claude.com`, localhost, and one exact Gemini web callback + (`https://oauth-redirect.googleusercontent.com/r/user_bound_custom-mcp-…` -- exact, + not a wildcard: that host is shared by every Google user). Gemini's own automatic + registration fails against Access even with that URI allowed -- why was not + established, the same request succeeds from curl -- so its client was registered by + hand (POST to the `registration_endpoint`, `token_endpoint_auth_method: + client_secret_post`) and the client ID and secret typed into Gemini's connector + dialog. If Google issues a new redirect URI, allow it and register again. Another client needs its callback added to the Access application's Managed OAuth settings. Path on the wire: Cloudflare (proxied A record `wodify.luci.ooo`, kept current by