Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion docs/guides/integrate-with-ory-cloud-through-webhooks.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ template as well. These objects are available through a `ctx` object.

#### Accessing request headers

The following request headers are available via `ctx.request_headers`:
Request headers are available via `ctx.request_headers`. By default, only the following headers are exposed:

```
Accept
Expand All @@ -113,6 +113,8 @@ True-Client-Ip
User-Agent
```

To customize allowed headers, use the `actions.web_hook.header_allowlist` configuration option.

#### Jsonnet templating

To send `{ user_id: {some-id} }` in the request body, create the following the [Jsonnet](https://jsonnet.org) template:
Expand Down
Loading