You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Azure Active Directory B2C (Azure AD B2C) allows you to enable CAPTCHA prevent automated attacks on your consumer-facing applications. Azure AD B2C’s CAPTCHA supports both audio and visual captcha challenges. You can enable this security feature in both sign-up and sign-in flows of your local accounts. CAPTCHA isn't applicable for social identity providers' sign-in.
22
+
Azure Active Directory B2C (Azure AD B2C) allows you to enable CAPTCHA prevent to automated attacks on your consumer-facing applications. Azure AD B2C’s CAPTCHA supports both audio and visual captcha challenges. You can enable this security feature in both sign-up and sign-in flows for your local accounts. CAPTCHA isn't applicable for social identity providers' sign-in.
23
23
24
24
> [!NOTE]
25
25
> This feature is in public preview
@@ -317,8 +317,8 @@ To enable CAPTCHA in MFA flow, you need to make an update in two technical profi
317
317
::: zone-end
318
318
319
319
> [!NOTE]
320
-
> - You can't add CAPTCHA to an MFA step in Sign up only user flow.
321
-
> - In an MFA flow, CAPTCHA is applicable where the MFA method selected is SMS or phone call, SMS only or Phone call only.
320
+
> - You can't add CAPTCHA to an MFA step in a sign-up only user flow.
321
+
> - In an MFA flow, CAPTCHA is applicable where the MFA method you select is SMS or phone call, SMS only or Phone call only.
322
322
323
323
::: zone pivot="b2c-user-flow"
324
324
## Upload the custom policy files
@@ -328,4 +328,9 @@ Use the steps in [Upload the policies](tutorial-create-user-flows.md?pivots=b2c-
328
328
## Test the custom policy
329
329
330
330
Use the steps in [Test the custom policy](tutorial-create-user-flows.md?pivots=b2c-custom-policy#test-the-custom-policy) to test and confirm that CAPTCHA is enabled for your chosen flow. You should be prompted to enter the characters you see or hear depending on the CAPTCHA type, visual or audio, you choose.
331
-
::: zone-end
331
+
::: zone-end
332
+
333
+
## Next steps
334
+
335
+
- Learn how to [Define a CAPTCHA technical profile](captcha-technical-profile.md).
336
+
- Learn how to [Configure CAPTCHA display control](display-control-captcha.md).
Copy file name to clipboardExpand all lines: articles/active-directory-b2c/captcha-technical-profile.md
+8-4Lines changed: 8 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,17 +1,19 @@
1
1
---
2
2
title: Define a CAPTCHA technical profile in a custom policy
3
3
titleSuffix: Azure AD B2C
4
-
description: Define a captcha technical profile in a custom policy in Azure Active Directory B2C.
4
+
description: Define a captcha technical profile custom policy in Azure Active Directory B2C.
5
5
6
6
author: kengaderdus
7
7
manager: mwongerapk
8
8
9
9
ms.service: active-directory
10
10
11
11
ms.topic: reference
12
-
ms.date: 12/11/2023
12
+
ms.date: 01/17/2024
13
13
ms.author: kengaderdus
14
14
ms.subservice: B2C
15
+
16
+
#Customer intent: As a developer integrating a customer-facing application with Azure Active Directory B2C, I want to define a CAPTCHA technical profile, so that I can secure sign-up and sign-in flows from automated attacks.
15
17
---
16
18
17
19
# Define a CAPTCHA technical profile in an Azure Active Directory B2C custom policy
@@ -39,7 +41,7 @@ The following example shows a self-asserted technical profile for email sign-up:
39
41
40
42
CAPTCHA technical profile operations has two operations:
41
43
42
-
-**Get challenge operation** generates the captcha code string, then displays it on the user interface by using a [captcha display control](). The display includes a textbox. This operations request the user to input the characters they see or hear into the textbox. The user can switch between visual and audio challenge types as needed.
44
+
-**Get challenge operation** generates the captcha code string, then displays it on the user interface by using a [captcha display control](display-control-captcha.md). The display includes an input textbox. This operation directs the user to input the characters they see or hear into the input textbox. The user can switch between visual and audio challenge types as needed.
43
45
44
46
-**Verify code operation** verifies the characters input by the user.
45
47
@@ -54,6 +56,7 @@ The **InputClaims** element contains a list of claims to send to Azure AD B2C's
54
56
| ClaimReferenceId | Required | Description |
55
57
| --------- | -------- | ----------- |
56
58
| challengeType | No | The CAPTCHA challenge type, Audio or Visual (default).|
59
+
| azureregion | Yes | The service region that will serve the CAPTCHA challenge request. |
57
60
58
61
### Display claims
59
62
@@ -63,6 +66,7 @@ The **DisplayClaims** element contains a list of claims to be presented on the s
63
66
| --------- | -------- | ----------- |
64
67
| challengeString | Yes | The CAPTCHA challenge code.|
65
68
69
+
66
70
### Output claims
67
71
68
72
The **OutputClaims** element contains a list of claims returned by the captcha technical profile.
@@ -71,7 +75,7 @@ The **OutputClaims** element contains a list of claims returned by the captcha t
71
75
| --------- | -------- | ----------- |
72
76
| challengeId | Yes | A unique identifier for CAPTCHA challenge code.|
73
77
| challengeString | Yes | The CAPTCHA challenge code.|
74
-
| azureregion | Yes |TODO|
78
+
| azureregion | Yes |The service region that will serve the CAPTCHA challenge request.|
Copy file name to clipboardExpand all lines: articles/active-directory-b2c/display-control-captcha.md
+10-4Lines changed: 10 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,17 +1,19 @@
1
1
---
2
2
title: Verify CAPTCHA code using CAPTCHA display controls
3
3
titleSuffix: Azure AD B2C
4
-
description: Learn how to use Azure AD B2C display controls to verify CAPTCHA code in custom policies.
4
+
description: Learn how to define a CAPTCHA display controls custom policy in Azure AD B2C.
5
5
6
6
author: kengaderdus
7
7
manager: mwongerapk
8
8
9
9
ms.service: active-directory
10
10
11
11
ms.topic: reference
12
-
ms.date: 12/11/2023
12
+
ms.date: 01/17/2024
13
13
ms.author: kengaderdus
14
14
ms.subservice: B2C
15
+
16
+
#Customer intent: As a developer integrating customer-facing apps with Azure AD B2C, I want to learn how to define a CAPTCHA display control so that I can enable CAPTCHA in my authentication using Azure AD B2C's custom policies.
15
17
---
16
18
17
19
# Verify CAPTCHA challenge string using CAPTCHA display control
@@ -34,7 +36,7 @@ This table summarizes the elements that a CAPTCHA display control contains.
34
36
| InputClaims | Yes | One or more claims required as input to specify the captcha challenge type and to uniquely identify the challenge. |
35
37
| DisplayClaims | Yes | The claims to be shown to the user such as the captcha challenge code, or collected from the user, such as code input by the user |
36
38
| OutputClaim | No | Any claim to be returned to the self-asserted page after the user completes captcha code verification process. |
37
-
| Actions | Yes | CAPTCHA display control contains two actions, *GetChallenge* and *VerifyChallenge*. <br> *GetChallenge* action generate, then displays the captcha challenge code on the interface. This action contains a validation technical profile, which is usually the GetChallenge[CAPTCHA technical profile](captcha-technical-profile.md), to generate and display the CAPTCHA challenge string. <br> *VerifyChallenge* action verifies the CAPTCHA challenge code that the user inputs. This action contains a validation technical profile, which is usually the VerifyChallenge [CAPTCHA technical profile](captcha-technical-profile.md), to validate the CAPTCHA code that the user inputs. |
39
+
| Actions | Yes | CAPTCHA display control contains two actions, *GetChallenge* and *VerifyChallenge*. <br> *GetChallenge* action generates, then displays a captcha challenge code on the user interface. <br> *VerifyChallenge* action verifies the CAPTCHA challenge code that the user inputs. |
38
40
39
41
The following XML snippet code shows an examples of CaptchaProvider display control:
40
42
@@ -72,4 +74,8 @@ The following XML snippet code shows an examples of CaptchaProvider display cont
72
74
</DisplayControl>
73
75
...
74
76
</DisplayControls>
75
-
```
77
+
```
78
+
79
+
## Next steps
80
+
81
+
-[Enable CAPTCHA in Azure Active Directory B2C](add-captcha.md).
0 commit comments