github atom36942/atom v18.6.0
Atom 18.6.0

latest releases: v18.7.1, v18.7.0, v18.6.1...
one hour ago
  • Incoming webhook verification: a route another service calls (Stripe, GitHub, Razorpay, another Atom app) takes "webhook_verify": {"scheme": "stripe", "secret": "config_webhook_secret_stripe"} with "auth": [] in its config_api entry; the middleware checks the HMAC-SHA256 signature of the raw body and the timestamp (config_webhook_verify_tolerance_sec, 300) before the route runs, answers 401 to a missing, forged or replayed call, gives the route request.state.webhook, and replays the body so the route reads it as usual. Schemes are data, not code: config_webhook_verify_scheme ships standard (Standard Webhooks, so Atom apps receive each other's webhooks), stripe, github, shopify and razorpay, and a project adds a provider with one dict (header, prefix or key, encoding, signed bytes, timestamp and id), checked at startup. OpenAPI adds x-webhook-verify (docs/webhook.md).

Don't miss a new atom release

NewReleases is sending notifications on new releases.