Hi all,
An HMAC-authenticated Forge web trigger that worked until at least 16 October 2026 now rejects the same requests. I can’t find the change in the documentation, the changelog or the CLI, and I’d like to understand it.
Setup
- Forge CLI 14.1.0 (I also checked 14.2.0)
- Confluence Cloud app,
urlFormat: v2
modules:
webtrigger:
- key: create-space-trigger
function: create-space-function
urlFormat: v2
request:
authentication: hmacSharedSecret
response:
type: dynamic
- The URL was created with
forge webtrigger create -f create-space-trigger --readSecretKey --noKeyExpiry ..., passing a base64 secret on stdin.
What worked until 16 October
None of this is in the public docs, so I worked it out from the platform’s error messages. A request was accepted with a single header:
x-webtrigger-signature: sha256=<hex of HMAC-SHA256(raw request body)>
The HMAC key was the base64-decoded bytes of the secret I gave the CLI. Nothing else was signed. The URL path had to be /auth/<id>. I confirmed this end to end by creating a Confluence space from the function.
What happens now (23 October)
Same URL, same secret, same request, no code or manifest change:
HTTP 401
Missing required x-webtrigger-keyid header
When I add the header with guessed values, I get:
HTTP 404
Secret key not found for the provided x-webtrigger-keyid
I tried the trigger ID, the hostname ID, 1, default, v1, primary, key1 and a deliberately wrong string.
What I checked
- The web trigger runtime reference, manifest module page, web trigger SDK page and CLI reference. None mention HMAC authentication,
x-webtrigger-signatureorx-webtrigger-keyid. They say web triggers are not authenticated by the platform. - The Forge changelog from 30 September to 21 October has no entry about web triggers or authentication.
- Forge CLI 14.1.0 and 14.2.0 never print a key ID.
forge webtrigger createreturns only the URL.forge webtrigger list --jsonreturns onlyid,triggerKeyandurl. - Re-running
forge webtrigger create --readSecretKeywith the same secret returns the same URL and no key ID. - A search for
x-webtrigger-keyidon this forum returns no results. - Minor: on 14.1.0,
forge webtrigger listandcreateprint a/public/URL for an HMAC trigger, but calling it requires/auth/. 14.2.0 prints/auth/.
Questions
- Is
request.authentication: hmacSharedSecretan officially supported feature? If so, where is it documented? - Where does the value for
x-webtrigger-keyidcome from, and how is it exposed to the developer? - Was the HMAC verification changed or rolled out between about 16 and 23 October 2026? Will changes like this be announced in the changelog?
- What is the complete signing contract (header names, key encoding, what is signed)? I only have what I inferred from error messages.
- If this isn’t meant to be depended on yet, is verifying the signature in the handler the recommended approach?
Workaround
I removed authentication from the manifest and now verify the HMAC inside the handler. This works, but I’d prefer to use the platform feature if it is supported.
Thanks for any pointers.