Skip to content

Commit bf65366

Browse files
authored
docs: captcha allowed domains customization (#2262)
1 parent 9d13fea commit bf65366

File tree

2 files changed

+9
-8
lines changed

2 files changed

+9
-8
lines changed

docs/kratos/concepts/security.mdx

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -85,20 +85,20 @@ Supported CAPTCHA providers are:
8585

8686
- [Cloudflare Turnstile](https://developers.cloudflare.com/turnstile)
8787

88-
Cloudflare Turnstile widgets support a maximum of 10 allowed domains. When CAPTCHA is enabled, this list will be automatically
89-
populated with your currently configured [custom domains](../../guides/custom-domains.mdx). If your domain list exceeds this
90-
limit, you won't be able to enable CAPTCHA protection.
91-
9288
```mdx-code-block
9389
<Tabs groupId="console-or-api">
9490
<TabItem value="console" label="Ory Console">
9591
```
9692

9793
1. Go to <ConsoleLink route="project.authentication" />.
9894
2. Toggle **CAPTCHA protection**.
99-
3. Click **Save**.
95+
3. (optional) Add or remove domains from the **Allowed domains** list.
96+
97+
- You must define at least one valid domain.
98+
- You can list up to 10 domains in total.
10099

101-
4. Navigate to your registration or login screen to test the CAPTCHA protection.
100+
4. Click **Save**.
101+
5. Navigate to your registration or login screen to test the CAPTCHA protection.
102102

103103
```mdx-code-block
104104
</TabItem>
@@ -107,7 +107,8 @@ limit, you won't be able to enable CAPTCHA protection.
107107

108108
```shell
109109
ory patch identity-config --project <project-id> --workspace <workspace-id> \
110-
--replace '/selfservice/mehods/captcha/enabled=true'
110+
--replace '/selfservice/mehods/captcha/enabled=true' \
111+
--replace '/selfservice/methods/captcha/config/allowed_domains=["example.org", "foo.bar.dev"]'
111112
```
112113

113114
```mdx-code-block

src/components/ConsoleLink/console-nav-data.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ export const brandingPaths: Path[] = [
6969

7070
export const authenticationPaths: Path[] = [
7171
{
72-
title: "Registration",
72+
title: "General",
7373
href: routes.project.authentication.route,
7474
},
7575
{

0 commit comments

Comments
 (0)