Feat: express middleware for verifying signature
picsoung opened this issue · 3 comments
picsoung commented
Inspired by Twilio middleware https://www.twilio.com/docs/usage/tutorials/how-to-secure-your-express-app-by-validating-incoming-twilio-requests
offer both a middleware and a verifySignature
function
mathio commented
Good idea. It could prevent issues some users are facing when validating the payload themselves.
mathio commented
mathio commented
After talking with the team, we decided to move this into a separate lib. This functionality is not related to API client andit also introduces express
as a dependency that is not necessary for the client.
I am closing this issue, but I will keep the draft PR #101 around and we can extract the code into a separate lib later.