Skip to content

Commit 5447494

Browse files
fix: add docs for 10 commits starting from c369b3cc (2026-06-30) (#1012)
1 parent df649f3 commit 5447494

2 files changed

Lines changed: 17 additions & 2 deletions

File tree

docs/application/terminology.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,8 @@ Each OAuth / Web3 / SAML provider entry in the provider table has additional per
9292

9393
- **Org choice mode** — How users select their organization at sign-in: `None`, `Select` (dropdown), or `Input` (text field).
9494
- **Signin methods** — Ordered list of sign-in methods shown on the login page (e.g. Password, Verification code, WebAuthn).
95-
- **Signup HTML** — Custom HTML injected into the sign-up page.
96-
- **Signin HTML** — Custom HTML injected into the sign-in page.
95+
- **Signup HTML** — Custom HTML injected into the sign-up page. Embedded `<script>` tags are executed, so only use trusted content.
96+
- **Signin HTML** — Custom HTML injected into the sign-in page. Embedded `<script>` tags are executed, so only use trusted content.
9797
- **Page HTML** — Custom HTML injected into the page `<head>` (e.g. meta tags, analytics snippets, or custom styles/scripts) for all of the application's pages.
9898
- **Signin items** — Configure which fields and controls appear on the sign-in form.
9999
- **Signup items** — Configure the registration form fields (visible only when **Enable signup** is on).

docs/provider/notification/customHttp.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,18 @@ When you use **Send Notification Message**, Casdoor sends a request to **Endpoin
2626
![custom_http_request](/img/providers/notification/custom_http_request.png)
2727

2828
<video src="/video/provider/notification/use_custom_http_as_notification_provider.mp4" controls="controls" width="100%"></video>
29+
30+
## Recipient forwarding
31+
32+
The `send-notification` API accepts an optional `recipient` field in its request body:
33+
34+
```json
35+
{
36+
"content": "Your message",
37+
"recipient": "user@example.com"
38+
}
39+
```
40+
41+
When a `recipient` is provided, the Custom HTTP provider forwards it to your **Endpoint** as an additional `recipient` request parameter — a query parameter for `GET`, or a form field for `POST` — alongside the message in your configured **Parameter name**. The `recipient` parameter is only sent when it is non-empty, so requests without a recipient are unchanged.
42+
43+
Notification providers that do not support recipient-aware sending simply ignore the `recipient` value, so their behavior is unchanged.

0 commit comments

Comments
 (0)