HMAC-authenticated Forge web trigger now returns "Missing required x-webtrigger-keyid header". Where does the key ID come from?

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-signature or x-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 create returns only the URL. forge webtrigger list --json returns only id, triggerKey and url.
  • Re-running forge webtrigger create --readSecretKey with the same secret returns the same URL and no key ID.
  • A search for x-webtrigger-keyid on this forum returns no results.
  • Minor: on 14.1.0, forge webtrigger list and create print a /public/ URL for an HMAC trigger, but calling it requires /auth/. 14.2.0 prints /auth/.

Questions

  1. Is request.authentication: hmacSharedSecret an officially supported feature? If so, where is it documented?
  2. Where does the value for x-webtrigger-keyid come from, and how is it exposed to the developer?
  3. Was the HMAC verification changed or rolled out between about 16 and 23 October 2026? Will changes like this be announced in the changelog?
  4. What is the complete signing contract (header names, key encoding, what is signed)? I only have what I inferred from error messages.
  5. 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.

Hi @DanielTan,

I can answer your questions in order.

  1. Officially, no this is not yet a supported feature, hence the lack of documentation as you , examples and support as you have found, beyond the original RFC that was posted here.
  2. This specific header requirement is an extension of the capability as you were using it previously.
  3. HMAC authentication and support was never actively support or announced, hence the missing posts in the Changelog, and yes all future official announcements and feature enhancements should appear there, not only for this capability but for all of Forge announcements.
  4. In terms of API contract, there are no functional changes to the ones that you are currently using, however a future update to the API response will include in it (for requests from both the CLI and the webTrigger module from @forge/api) a keyId for you to provide with the URL requests for you authenticated web trigger. This will all be documented and explained once the feature is ready for public usage.
  5. As this feature isn’t yet documented or announced, it is unfortunately subject to change as you have encountered. For now, I would recommend continuing to perform your own auth layer within the handler function, yes.

I sincerely apologise for your degraded experience as I am the one working on these changes. I am actively trying to ready this feature for production usage and am excited to release it in it’s best form, hopefully in the coming days/weeks. I had hoped that it would be ready sooner but there were several competing issues we had to resolve first.

Thank you for your patience on the matter, and I will reply back here with links to the Change announcement and DAC documentation for the officially support capability.

If there is anything else, or other questions that I can assist you with, I would be happy to help you.

Thanks,
Matthew Freeman