Val Town is a social website to write and deploy JavaScript.
Build APIs and schedule functions from your browser.
Comments
1
karfau avatar

There are some issues with this example:

  • @vtdocs.verifyGithubWebhookSignature has several issues, which is why I created @karfau.SignatureCheck (see there for more details)
  • it uses express which is not needed and makes things more complicated since we have the web api
  • in my webhook I found that @vtdocs.githubPayloadStringToNormalizedJSON is no longer needed and according to this issue JSON serializing might break the signature check
Updated: October 23, 2023