You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Webhook verification maps JWKS failures to non-spec webhook_signature_jwks_* codes #1386
REQUEST_TO_WEBHOOK_CODE (the request-signature → webhook-signature error-code table that #1370 made the only decider) still maps JWKS discovery failures to webhook_signature_jwks_unavailable and webhook_signature_jwks_untrusted. Neither code is in the spec's webhook-signature error list; the spec reports every webhook key-resolution failure as webhook_signature_key_unknown.
Found while integrating #1370 and #1373, but left out of #1370 because it changes codes that receivers put on the wire.
Expected: webhook verification surfaces only spec webhook codes. JWKS unavailable/untrusted resolve to webhook_signature_key_unknown; the precise discovery step stays available to the receiver via the exception cause/logs, not the wire code. Retryability should still be distinguishable in-process, so transient JWKS failures aren't treated as permanent locally.
Acceptance: the table maps no request code to a non-spec webhook code, with a test that pins this against the spec list; existing webhook verifier tests are updated; and a CHANGELOG/BREAKING note covers the wire-code change (targets 9.0).
Activity
fix(signing)!: emit only the webhook taxonomy's codes from webhook ve…