Skip to content

fix(mctl-telegram): wire Telegram OIDC client credentials - #233

Merged
mashkovd merged 1 commit into
mainfrom
fix/mctl-telegram-oidc-env
May 18, 2026
Merged

mashkovd merged 1 commit into
mainfrom
fix/mctl-telegram-oidc-env

Conversation

@mashkovd

Copy link
Copy Markdown
Member

Summary

mctl-telegram 0.16.0 (just released) replaced the legacy Telegram Login Widget with Telegram's OpenID Connect flow. The service is fail-closed — it will not boot without the OIDC client credentials.

  • Adds TELEGRAM_OIDC_CLIENT_ID env (8568443430, the @MCTL_AI_bot numeric id — not a secret).
  • Adds TELEGRAM_OIDC_CLIENT_SECRET to the labs-mctl-telegram-oauth ExternalSecret, sourced from Vault secret/platform/mctl-telegram/oauth key oidc-client-secret.
  • TELEGRAM_LOGIN_BOT_USERNAME left as harmless dead config (0.16.0 ignores it) — removed in a follow-up.

Pairs with the image.tag bump to 0.16.0 already on main. Trivial values change.

Test plan

  • ArgoCD syncs; the 0.16.0 pod boots (no TELEGRAM_OIDC_* boot error)
  • OIDC login flow verified end-to-end against the live Telegram OP

mctl-telegram 0.16.0 replaced the legacy Login Widget with Telegram's
OpenID Connect flow. The service is fail-closed: it will not boot
without TELEGRAM_OIDC_CLIENT_ID and TELEGRAM_OIDC_CLIENT_SECRET.

Adds the OIDC client id as a plain env var (the @MCTL_AI_bot numeric
id, not secret) and sources the client secret from Vault
secret/platform/mctl-telegram/oauth (key oidc-client-secret) via the
existing oauth ExternalSecret. TELEGRAM_LOGIN_BOT_USERNAME is left in
place as harmless dead config; it will be removed in a follow-up.
@mashkovd
mashkovd merged commit 4017690 into main May 18, 2026
@claude

claude Bot commented May 18, 2026 •

Copy link
Copy Markdown

Claude finished @mashkovd's task in 31s —— View job


Trivial values change: one plain env var (TELEGRAM_OIDC_CLIENT_ID) and one Vault-sourced ExternalSecret key (TELEGRAM_OIDC_CLIENT_SECRET). No secrets in plain text, Vault path follows the established pattern, ExternalSecret structure is consistent with existing entries.

No P1/P2/P3 findings. Good to merge.

@mashkovd
mashkovd deleted the fix/mctl-telegram-oidc-env branch May 18, 2026 15:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant