Skip to content

Support URL-path credential bindings for Telegram #14984

Todo

Description

@sandl99

Part of #12037.

Problem

NemoClaw's API integration schema exposes bearer/header authentication only. Telegram puts the bot token in the URL path and reuses it across multiple API methods.

Change

Expose validated path credential placement in YAML and map it through the provider to OpenShell, including exact-path and path_subtree placement. Keep raw tokens outside the sandbox and supply the native client with one placeholder.

OpenShell profile syntax for Telegram:

auth_style: path_subtree
path_template: /bot{credential}

OpenShell #5675 already supplies this feature. NemoClaw pins 0.1.10; no separate OpenShell upgrade or method-selection hook is required.

Acceptance

  • YAML accepts the placement style/template and the compiled provider configuration applies them to the declared credential.
  • A native, unmodified Telegram client starts, polls, and sends a reply using the same placeholder across API methods.
  • Credential delivery stays restricted to declared destinations and placements; invalid configuration/placement is rejected without exposing the token.
  • Credential references remain references in YAML, plans, and exports. Record a full sandbox/API run, not only resolver-level results.

Existing Evidence

Exact-path support was prototyped locally. The upstream resolver probe passed seven Telegram methods with one subtree placeholder and rejected five invalid-path cases. Full deployed subtree qualification remains pending; the older live Telegram test used a local method-selection hook.

Activity

  1. added
    integration: telegram
    area: integrations
    on Dec 2, 2026
  2. added theissue type on Dec 2, 2026
  3. added
    area: messaging
    area: security
    v1
    on Dec 2, 2026
  4. added
    VRDC
    on Dec 2, 2026
  5. self-assigned this
    on Dec 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

VRDCarea: integrationsarea: messagingarea: securityintegration: telegramv1

Type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions