Webhook 密钥问题

希望有人能告诉我我在这里做错了什么。

我设置了一个 Discourse Webhook,在没有 Secret 的情况下,它的工作符合预期。然后,我在 Secret 中写入一个字符串,然后像这样将该字符串复制到接收 Webhook 的 Header 中:

X-Discourse-Event-Signature: secret_here

当发送 Webhook 发送时,这会在 Body 中产生以下错误:

{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}

我猜是我没有正确操作,所以请指教!

我知道 Secret 使用 sha256 进行加密,所以发送的 Header 是:

X-Discourse-Event-Signature: sha256=XXX

但我不知道在接收 Webhook 的安全 Header 中应该如何处理这些信息。