Use it when designing, operating or troubleshooting the webhook boundary around Authentication. Keep producer event, delivery identity, source verification, acknowledgement, durable processing and downstream state separate.
Authentication · Webhooks
The webhook-level mechanism used by the consumer to establish that a delivery comes from an expected producer or credential context.
1. Authenticate webhooks: HMAC signatures, mTLS, or bearer tokens in headers.
2. IP allowlists help but aren't enough.
3. No secrets in URLs.
4. Rotate secrets.
5. Reject unauthenticated calls.
request → auth check → accept/reject
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Operational evidence path Verify boundary
producer credential/signing context → HTTPS delivery → consumer auth verification → trusted event handling → rotation/revocation
Healthy evidence: source authentication is explicit, credentials are rotated safely, TLS validation is enforced and logs do not expose secrets.
Step 2 Verification path Verify boundary
Record delivery/event ID, sender/source, endpoint, timestamp/signature and downstream run ID; inspect the runtime/control-plane result; then query the downstream workflow/action and any external state mutated by the webhook event through an independent read path and compare it with the versioned intent. For Webhooks → Authentication, the evidence must connect the control-plane result to the downstream workflow/action and any external state mutated by the webhook event and explain any gap between desired, controller-reported and consumer-visible state.
Step 3 Failure modes and next checks Narrow the fault
Suspicious evidence: IP-only trust, secrets in code/logs, rotation mismatch, disabled verification or transport TLS confused with producer authentication.
Authentication evidence shows the configured producer credential context was accepted; payload integrity and authorization can require additional checks.
Step 4 Common mistakes Narrow the fault
- Shared secrets in URLs.
Step 5 Where it fails Narrow the fault
Failure analysis for Webhooks → Authentication should follow the path through the components: event source → HTTP delivery → auth/signature/replay checks → payload parse → workflow/action → target → acknowledgement/read-back. Common failure classes include spoofed sender, replay, signature mismatch, schema drift, retry duplicates, slow receiver timeout and 2xx response while downstream action fails. Before retrying a mutating operation, read current target state using the stable identity delivery/event ID, sender/source, endpoint, timestamp/signature and downstream run ID; if state is unknown, stop broad retries.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- Webhook authentication success ≠ payload integrity unless the mechanism cryptographically covers the payload.
- Shared secret present ≠ secret current; rotation overlap and producer configuration can differ.
- Source IP allowed ≠ producer authenticated; addresses can change and network origin alone may be insufficient.
- TLS server validation ≠ client/source authentication; ordinary HTTPS mainly authenticates the receiver to the producer.
- Shared secret/HMAC or mTLS — auth method
- IP allowlist (supplementary) — defence in depth
- Token in header vs URL — no secrets in URLs
ReferenceWhy it matters1 section · depth on demand
In depth
Webhook authentication proves that a request really comes from the expected producer. Because the receiving URL is often reachable from the internet, an unauthenticated endpoint lets anyone trigger your automation.
| Method | Notes |
|---|---|
| HMAC signature header | Strongest common option; verify over the raw body |
| Shared secret token in header | Simple; protect with HTTPS |
| Mutual TLS | Strong, but more setup |
| IP allow-list | Extra layer; producer IP ranges change |
| Basic auth in URL | Avoid — ends up in logs |
Combine signature verification with a timestamp check to block replayed requests, and rotate the shared secret like any other credential.
ReferenceImportant terms & boundaries2 sections · depth on demand
What this shows and what it does not
Automation → Webhooks owns generic Authentication semantics.
Mechanics
Webhooks → Authentication is owned at runtime by the HTTP webhook sender, receiver and downstream event-processing workflow. Its durable intent is versioned endpoint/authentication/signature contract plus event type/schema and retry/idempotency policy; the stable identity contract is delivery/event ID, sender/source, endpoint, timestamp/signature and downstream run ID. The consumer-visible target is the downstream workflow/action and any external state mutated by the webhook event. The operating invariants are that sender authenticity is verified, replay window is bounded, payload schema is validated, duplicates are idempotent and response code does not substitute for downstream verification. Follow the chain of components event source → HTTP delivery → auth/signature/replay checks → payload parse → workflow/action → target → acknowledgement/read-back and record which layer currently owns truth. The linked authority for bounded mechanics is GitHub Docs — Validating webhook deliveries; documentation support is separate from observed lab/production Evidence.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Webhooks > Authentication. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://docs.github.com/en/webhooks/using-webhooks/validating-webhook-deliveries · confidence 94%Terms & aliases
Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.
Quick lookup tables
Authentication webhook boundary map
Fast request/delivery, trust, processing and verification boundaries for Authentication.
| Boundary | Healthy evidence | Suspicious evidence |
|---|---|---|
| Source / delivery | Event, subscription, delivery ID and attempt metadata are attributable | Missing source event, stale subscription, wrong callback or delivery history gap |
| Trust / acknowledgement | Auth/signature and schema checks occur before safe acknowledgement | Unverified payload, slow handler, 2xx before durable receipt or replay weakness |
| Processing / proof | Durable dedupe/worker evidence matches downstream target state | Duplicate side effect, worker failure hidden by 2xx or no target reconciliation |
| Troubleshooting | First failed boundary is preserved, changed minimally and retested | Blind retries, credential rotation, replay or payload edits before evidence is captured |
Deep reference
Healthy vs suspicious evidence
Output interpretation
Capture at minimum delivery/event ID, source, timestamp/signature, HTTP status, payload type/schema, duplicate decision, downstream run ID and target result.