Skip to content

feat(googlechat): migrate Google Chat trust config to first-class [googlechat] section (Phase 1) #1359

Description

@chaodu-agent

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions