Skip to content

Commit b3facab

Browse files
authored
chore: update docs for CAPTCHAs (#2021)
* chore: update docs for CAPCTHAs * Update security.mdx * Update security.mdx
1 parent 40a8a51 commit b3facab

File tree

1 file changed

+32
-8
lines changed

1 file changed

+32
-8
lines changed

docs/kratos/concepts/security.mdx

Lines changed: 32 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -73,16 +73,40 @@ Ory OAuth2 and OpenID Connect is a certified OAuth2 and OpenID Connect provider.
7373

7474
## CAPTCHAs
7575

76-
:::info
77-
78-
Captcha protection is being tested and is not yet available for general use. If you are interested, please
79-
[contact us](https://ory.sh/contact).
76+
Ory Identities supports protecting the registration and login endpoints with CAPTCHA challenges. This is useful to prevent
77+
credential stuffing, brute force and other automated attacks.
8078

81-
:::
79+
#### Prerequisites
8280

83-
Ory Identities supports protecting the registration and login endpoints with captcha challenges. This is useful to prevent
84-
credential stuffing, brute force and other automated attacks.
81+
Before proceeding, ensure you are on a plan that supports this feature. If you need CAPTCHA support, please
82+
[contact us](https://www.ory.sh/contact/).
8583

86-
Supported captcha providers are:
84+
Supported CAPTCHA providers are:
8785

8886
- [Cloudflare Turnstile](https://developers.cloudflare.com/turnstile)
87+
88+
```mdx-code-block
89+
<Tabs groupId="console-or-api">
90+
<TabItem value="console" label="Ory Console">
91+
```
92+
93+
1. Go to <ConsoleLink route="project.authentication" />.
94+
2. Toggle **CAPTCHA protection**.
95+
3. Click **Save**.
96+
97+
4. Navigate to your registration or login screen to test the CAPTCHA protection.
98+
99+
```mdx-code-block
100+
</TabItem>
101+
<TabItem value="cli" label="Ory CLI">
102+
```
103+
104+
```shell
105+
ory patch identity-config --project <project-id> --workspace <workspace-id> \
106+
--replace '/selfservice/mehods/captcha/enabled=true'
107+
```
108+
109+
```mdx-code-block
110+
</TabItem>
111+
</Tabs>
112+
```

0 commit comments

Comments
 (0)