Skip to content

Commit 76cc60a

Browse files
authored
docs: correct onboarding risk flags and Google Chat credential shapes (#118936)
1 parent 6fa63a4 commit 76cc60a

3 files changed

Lines changed: 8 additions & 8 deletions

File tree

‎docs/channels/googlechat.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ Use these identifiers for delivery and allowlists:
165165
googlechat: {
166166
enabled: true,
167167
serviceAccountFile: "/path/to/service-account.json",
168-
// or serviceAccountRef: { source: "file", provider: "filemain", id: "/channels/googlechat/serviceAccount" }
168+
// or serviceAccount: { source: "file", provider: "filemain", id: "/channels/googlechat/serviceAccount" }
169169
audienceType: "app-url",
170170
audience: "https://gateway.example.com/googlechat",
171171
appPrincipal: "123456789012345678901", // add-on verification only; numeric OAuth client ID
@@ -192,11 +192,11 @@ Use these identifiers for delivery and allowlists:
192192

193193
Notes:
194194

195-
- Service account credentials: `serviceAccountFile` (path), `serviceAccount` (inline JSON string or object), or `serviceAccountRef` (env/file SecretRef). Env vars `GOOGLE_CHAT_SERVICE_ACCOUNT` (inline JSON) and `GOOGLE_CHAT_SERVICE_ACCOUNT_FILE` (path) apply to the default account only. Multi-account setups use `channels.googlechat.accounts.<id>` with the same keys, including per-account `serviceAccountRef`.
195+
- Service account credentials: `serviceAccountFile` (path) or `serviceAccount` (inline JSON string, object, or env/file/exec SecretRef). Env vars `GOOGLE_CHAT_SERVICE_ACCOUNT` (inline JSON) and `GOOGLE_CHAT_SERVICE_ACCOUNT_FILE` (path) apply to the default account only. Multi-account setups use `channels.googlechat.accounts.<id>` with the same keys, including per-account `serviceAccount` SecretRefs.
196196
- Default webhook path is `/googlechat` when `webhookPath` is unset; `webhookUrl` can supply the path instead.
197197
- Group keys must be stable space ids (`spaces/<spaceId>`). Display-name keys are deprecated and logged as such.
198198
- `dangerouslyAllowNameMatching` re-enables mutable email principal matching for allowlists (break-glass compatibility mode); doctor warns about email entries.
199-
- Google Chat reaction actions are not exposed. The plugin uses service-account authentication, while Google Chat reaction endpoints require user authentication. Existing `actions.reactions` config is accepted for compatibility but has no effect.
199+
- Google Chat reaction actions are not exposed. The plugin uses service-account authentication, while Google Chat reaction endpoints require user authentication. Remove unsupported legacy reaction settings with `openclaw doctor --fix`.
200200
- Native approval cards use Google Chat `cardsV2` button clicks, not reaction events. Approvers come from `allowFrom` or `defaultTo` and must be stable numeric `users/<id>` values.
201201
- Message actions expose text `send` only. Google Chat attachment upload requires user authentication, while this plugin uses service-account authentication, so outbound file upload is not exposed.
202202
- `typingIndicator`: `message` (default) posts a `_<Bot> is typing..._` placeholder and edits it into the first reply; `none` disables it; `reaction` requires user OAuth and currently falls back to `message` with a logged error under service-account auth.

‎docs/cli/onboard.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ OPENCLAW_LOCALE=en openclaw onboard # Explicit English override
218218
`--non-interactive` requires `--accept-risk` (acknowledges that agents are powerful and full system access is risky). `--mode` defaults to `local`.
219219

220220
```bash
221-
openclaw onboard --non-interactive \
221+
openclaw onboard --non-interactive --accept-risk \
222222
--auth-choice custom-api-key \
223223
--custom-base-url "https://llm.example.com/v1" \
224224
--custom-model-id "foo-large" \
@@ -307,7 +307,7 @@ openclaw onboard --non-interactive \
307307

308308
```bash
309309
# Promptless endpoint selection
310-
openclaw onboard --non-interactive \
310+
openclaw onboard --non-interactive --accept-risk \
311311
--auth-choice zai-coding-global \
312312
--zai-api-key "$ZAI_API_KEY"
313313

@@ -317,7 +317,7 @@ openclaw onboard --non-interactive \
317317
Mistral:
318318

319319
```bash
320-
openclaw onboard --non-interactive \
320+
openclaw onboard --non-interactive --accept-risk \
321321
--auth-choice mistral-api-key \
322322
--mistral-api-key "$MISTRAL_API_KEY"
323323
```

‎docs/reference/secretref-credential-surface.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,8 +121,8 @@ The lists below are generated from the source target registry and checked agains
121121
- `channels.zalo.webhookSecret`
122122
- `channels.zalo.accounts.*.botToken`
123123
- `channels.zalo.accounts.*.webhookSecret`
124-
- `channels.googlechat.serviceAccount` via sibling `serviceAccountRef` (compatibility exception)
125-
- `channels.googlechat.accounts.*.serviceAccount` via sibling `serviceAccountRef` (compatibility exception)
124+
- `channels.googlechat.serviceAccount`
125+
- `channels.googlechat.accounts.*.serviceAccount`
126126

127127
### `auth-profiles.json` targets (`secrets configure` + `secrets apply` + `secrets audit`)
128128

0 commit comments

Comments
 (0)