Skip to content

Commit 419e7d7

Browse files
committed
adding desc for an additional HTTP header for authentication
1 parent 73d1574 commit 419e7d7

File tree

1 file changed

+16
-1
lines changed
  • content/en/docs/appstore/use-content/platform-supported-content/services

1 file changed

+16
-1
lines changed

content/en/docs/appstore/use-content/platform-supported-content/services/event-broker.md

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,21 @@ Every event must carry four mandatory CloudEvents core attributes, each prefixed
109109
* specversion as `ce_specversion`
110110
* type as `ce_type`
111111

112+
{{% alert color="info" %}}
113+
For HTTP Bridges, an additional HTTP header is required for authentication.
114+
{{% /alert %}}
115+
116+
* **Authorization**: The value must be set as a Bearer token using the Personal Access Token (PAT) generated during bridge configuration.
117+
Example: `Authorization: Bearer <your-personal-access-token>`
118+
119+
This header must be included in all HTTP requests sent to the Mendix Event Broker via the HTTP Bridge.
120+
For details on how to obtain your Bearer token, see [Using the HTTP Bridge](#using-the-http-bridge).
121+
122+
> **Note:**
123+
> You can include additional HTTP headers in your request, such as `ce_time: 2025-06-13T15:36:52.148542+02:00`.
124+
> For example, passing `ce_time` will set the published time of the event.
125+
> All other custom HTTP headers will be forwarded as Kafka headers by default.
126+
112127
See [CloudEvents](https://github.com/cloudevents/spec/blob/v1.0.1/spec.md#required-attributes) for more information on required attributes.
113128

114129
### Creating a Bridge
@@ -254,7 +269,7 @@ On the confirmation screen you can do the following:
254269

255270
{{< figure src="/attachments/appstore/platform-supported-content/services/event-broker/bridges/http/event_broker_bridges_create_6_http.png" class="no-border" >}}
256271

257-
#### Using the HTTP Bridge
272+
#### Using the HTTP Bridge {#using-the-http-bridge}
258273

259274
To run the HTTP bridge from your client, include a Bearer token in the request header.
260275

0 commit comments

Comments
 (0)