DEV Community

Discussion on: Webhooks 101: Let the Server Notify You

Collapse
 
dotallio profile image
Dotallio

This is such a clear breakdown of why webhooks are a game changer for efficiency, and the TypeScript example is super handy. Have you had to deal with securing your webhooks or handling failed deliveries yet?

Collapse
 
mirchez profile image
Miguel Miranda • Edited

Thanks!, To secure WorkOS, I send the payload with a signature and verify it on arrival, but generally if you work with external service they provide some sdk for verification. For failed deliveries, I usually set up polling as a fallback. And when there are lots of requests, I handle them with queues if needed.