Files
vercel__chat/.changeset/slack-prefer-webhook-verifier.md
Dima Voytenko 0f0c203165 fix(slack): prefer webhookVerifier over signingSecret (#468)
* fix(slack): prefer webhookVerifier over signingSecret and SLACK_SIGNING_SECRET

When `webhookVerifier` is configured, ignore both `config.signingSecret`
and the `SLACK_SIGNING_SECRET` env var. Previously a configured
`signingSecret` (or env var) would shadow the verifier the caller wired
up, which is the opposite of the intended override behavior.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>

* docs(slack): update README to match new webhookVerifier precedence

Mirror the JSDoc/changeset wording: webhookVerifier wins over both
signingSecret and SLACK_SIGNING_SECRET. The previous note still claimed
signingSecret won, contradicting the behavior fixed in e77359b.

---------

Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
Co-authored-by: Ben Sabic <bensabic@users.noreply.github.com>
2026-05-09 10:34:24 +10:00

352 B

@chat-adapter/slack
@chat-adapter/slack
patch

fix(slack): prefer webhookVerifier over signingSecret and SLACK_SIGNING_SECRET

When a webhookVerifier is configured, it now takes precedence over both the signingSecret config field and the SLACK_SIGNING_SECRET env var. Previously, a configured signingSecret (or env var) would shadow the verifier.