Configure the signing secret on the client, then pass the unmodified payload
and request headers to verify-signature or unwrap.
(def webhook-client (openai/client {:webhook-secret "whsec_..."}))
(webhooks/verify-signature webhook-client raw-body headers)
(webhooks/unwrap webhook-client raw-body headers)
Can you improve this documentation?Edit on GitHub
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |