Skip to content

Commit 101bc70

Browse files
committed
captcha - address review comments
1 parent 8ae79d8 commit 101bc70

File tree

3 files changed

+29
-14
lines changed

3 files changed

+29
-14
lines changed

articles/active-directory-b2c/add-captcha.md

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,21 +5,21 @@ author: kengaderdus
55
manager: mwongerapk
66
ms.service: active-directory
77
ms.topic: how-to
8-
ms.date: 12/11/2023
8+
ms.date: 01/17/2024
99
ms.custom: project-no-code
1010
ms.author: kengaderdus
1111
ms.subservice: B2C
1212
zone_pivot_groups: b2c-policy-type
1313

14-
#Customer intent: As a developer, I want to learn how to enable CAPTCHA in consumer-facing applications secured by Azure Active Directory B2C.
14+
#Customer intent: As a developer, I want to enable CAPTCHA in consumer-facing application that is secured by Azure Active Directory B2C.
1515

1616
---
1717

1818
# Enable CAPTCHA in Azure Active Directory B2C
1919

2020
[!INCLUDE [active-directory-b2c-choose-user-flow-or-custom-policy](../../includes/active-directory-b2c-choose-user-flow-or-custom-policy.md)]
2121

22-
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.
2323

2424
> [!NOTE]
2525
> 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
317317
::: zone-end
318318

319319
> [!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.
322322
323323
::: zone pivot="b2c-user-flow"
324324
## Upload the custom policy files
@@ -328,4 +328,9 @@ Use the steps in [Upload the policies](tutorial-create-user-flows.md?pivots=b2c-
328328
## Test the custom policy
329329

330330
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).

articles/active-directory-b2c/captcha-technical-profile.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,19 @@
11
---
22
title: Define a CAPTCHA technical profile in a custom policy
33
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.
55

66
author: kengaderdus
77
manager: mwongerapk
88

99
ms.service: active-directory
1010

1111
ms.topic: reference
12-
ms.date: 12/11/2023
12+
ms.date: 01/17/2024
1313
ms.author: kengaderdus
1414
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.
1517
---
1618

1719
# 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:
3941

4042
CAPTCHA technical profile operations has two operations:
4143

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.
4345

4446
- **Verify code operation** verifies the characters input by the user.
4547

@@ -54,6 +56,7 @@ The **InputClaims** element contains a list of claims to send to Azure AD B2C's
5456
| ClaimReferenceId | Required | Description |
5557
| --------- | -------- | ----------- |
5658
| challengeType | No | The CAPTCHA challenge type, Audio or Visual (default).|
59+
| azureregion | Yes | The service region that will serve the CAPTCHA challenge request. |
5760

5861
### Display claims
5962

@@ -63,6 +66,7 @@ The **DisplayClaims** element contains a list of claims to be presented on the s
6366
| --------- | -------- | ----------- |
6467
| challengeString | Yes | The CAPTCHA challenge code.|
6568

69+
6670
### Output claims
6771

6872
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
7175
| --------- | -------- | ----------- |
7276
| challengeId | Yes | A unique identifier for CAPTCHA challenge code.|
7377
| challengeString | Yes | The CAPTCHA challenge code.|
74-
| azureregion | Yes | TODO|
78+
| azureregion | Yes | The service region that will serve the CAPTCHA challenge request.|
7579

7680

7781
### Metadata

articles/active-directory-b2c/display-control-captcha.md

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,19 @@
11
---
22
title: Verify CAPTCHA code using CAPTCHA display controls
33
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.
55

66
author: kengaderdus
77
manager: mwongerapk
88

99
ms.service: active-directory
1010

1111
ms.topic: reference
12-
ms.date: 12/11/2023
12+
ms.date: 01/17/2024
1313
ms.author: kengaderdus
1414
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.
1517
---
1618

1719
# Verify CAPTCHA challenge string using CAPTCHA display control
@@ -34,7 +36,7 @@ This table summarizes the elements that a CAPTCHA display control contains.
3436
| InputClaims | Yes | One or more claims required as input to specify the captcha challenge type and to uniquely identify the challenge. |
3537
| 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 |
3638
| 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. |
3840

3941
The following XML snippet code shows an examples of CaptchaProvider display control:
4042

@@ -72,4 +74,8 @@ The following XML snippet code shows an examples of CaptchaProvider display cont
7274
</DisplayControl>
7375
...
7476
</DisplayControls>
75-
```
77+
```
78+
79+
## Next steps
80+
81+
- [Enable CAPTCHA in Azure Active Directory B2C](add-captcha.md).

0 commit comments

Comments
 (0)