DXIM - Extension - improve action signature section#1224
Open
JulienVerbrugge wants to merge 5 commits into
Open
DXIM - Extension - improve action signature section#1224JulienVerbrugge wants to merge 5 commits into
JulienVerbrugge wants to merge 5 commits into
Conversation
…amples The previous section was a single sentence with no actionable detail. Based on real implementation experience, this PR adds: - The exact header name (`signature`) and format (`sha512=<hex>`) - Step-by-step verification algorithm with a warning to capture the raw body before JSON parsing - Working code examples in PHP, Node.js, and Python, each covering the raw-body capture gotcha specific to their framework - Replay attack prevention: how to use the `timestamp` field already present in every payload to reject stale requests (5-minute window) - Secret rotation pattern: accept multiple secrets on the receiver side to enable zero-downtime key rotation Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
The
## Signaturesection was a single sentence with no actionable detail:This PR replaces it with a complete implementation guide based on hands-on experience building a receiver for Action UI Extension calls.
What was added
signature: sha512=<hex digest>— the header name was undocumented, which required reading third-party source code to discover.timestampfield already documented in the payload section is now shown in action — how to reject requests older than 5 minutes.Why this matters
Without these details, integrators have to either read the Symfony reference implementation or go back and forth with support to discover:
signature(notx-akeneo-signatureor similar).sha512=.All four of these are non-obvious and caused real implementation friction.