Skip to content

fix(feishu): align feishu webhook verification flow with sdk behavior#250

Merged
sheepbox8646 merged 1 commit into
memohai:mainfrom
ringotypowriter:fix/feishu-webhook-verification
Mar 15, 2026
Merged

fix(feishu): align feishu webhook verification flow with sdk behavior#250
sheepbox8646 merged 1 commit into
memohai:mainfrom
ringotypowriter:fix/feishu-webhook-verification

Conversation

@ringotypowriter
Copy link
Copy Markdown
Collaborator

#247

这个PR修复了 Feishu webhook 验证链路不一致的问题。此前 url_verification、明文 event_callback 和加密回调分别走不同分支,导致“只配 encrypt_key”的 challenge 场景会失败,而无 secret 的 webhook 配置又可能被保 存或重新启用,留下实际不可用且不安全的配置

修复后:url_verification 改为兼容飞书官方的加密校验流程,配置了 verification_token 时明文和加密回调都会强校验token,同时把“encrypt_key 或 verification_token 至少一个”下沉到配置规范化和启用校验,并同步调整 Web 端提示文案

@ringotypowriter ringotypowriter force-pushed the fix/feishu-webhook-verification branch from a4ea580 to 611aa00 Compare March 15, 2026 11:23
@ringotypowriter ringotypowriter changed the title fix: align feishu webhook verification flow with sdk behavior fix(feishu): align feishu webhook verification flow with sdk behavior Mar 15, 2026
@sheepbox8646 sheepbox8646 merged commit ca598bb into memohai:main Mar 15, 2026
16 checks passed
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.

2 participants