Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in miliseconds.
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