Summary
Migrate Google Chat adapter trust configuration from gateway env vars to a first-class [googlechat] section in config.toml.
Current State
- Gateway env vars only (
GATEWAY_ALLOW_ALL_USERS, GATEWAY_ALLOWED_USERS)
- No per-platform granularity for Google Chat
Target State
[googlechat]
allowed_users = ["users/123456789", "users/987654321"]
# allow_all_users = true # explicit opt-in only
Tasks
Notes
- Sender ID format: user resource name (e.g.,
"users/123456789")
- L1 auth: JWT (RS256) verified via Google JWKS; email claim =
chat@system.gserviceaccount.com
Refs
Summary
Migrate Google Chat adapter trust configuration from gateway env vars to a first-class
[googlechat]section inconfig.toml.Current State
GATEWAY_ALLOW_ALL_USERS,GATEWAY_ALLOWED_USERS)Target State
Tasks
[googlechat]section to config schemaPlatformTrustConfigsregistryis_botderivation:message.sender.type == "BOT"(native field from Chat API)spaces.messages.create(reply in same space)config.toml.exampleNotes
"users/123456789")chat@system.gserviceaccount.comRefs