Skip to content

Commit b27733c

Browse files
committed
fix correctness in direct signin
1 parent 2984a66 commit b27733c

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

articles/active-directory-b2c/direct-signin.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,37 @@
11
---
2-
title: Set up direct sign-in using Azure Active Directory B2C
3-
description: Learn how to prepopulate the sign-in name or redirect straight to a social identity provider.
2+
title: Set up direct sign in using Azure Active Directory B2C
3+
description: Learn how to prepopulate the sign in name or redirect straight to a social identity provider.
44
services: active-directory-b2c
55
author: kengaderdus
66
manager: CelesteDG
77

88
ms.service: active-directory
99
ms.workload: identity
1010
ms.topic: how-to
11-
ms.date: 12/14/2020
11+
ms.date: 03/31/2022
1212
ms.custom: project-no-code
1313
ms.author: kengaderdus
1414
ms.subservice: B2C
1515
zone_pivot_groups: b2c-policy-type
1616
---
1717

18-
# Set up direct sign-in using Azure Active Directory B2C
18+
# Set up direct sign in using 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-
When setting up sign in for your application using Azure Active Directory B2C (Azure AD B2C), you can prepopulate the sign in name or directly sign in to a specific social identity provider, such as Facebook, LinkedIn, or a Microsoft account.
22+
When you set up sign-in for your application using Azure Active Directory B2C (Azure AD B2C), you can prepopulate the sign-in name or directly sign in to a specific social identity provider, such as Facebook, LinkedIn, or a Microsoft account.
2323

24-
## Prepopulate the sign-in name
24+
## Prepopulate the sign in name
2525

26-
During a sign in user journey, a relying party application may target a specific user or domain name. When targeting a user, an application can specify, in the authorization request, the `login_hint` query parameter with the user sign in name. Azure AD B2C automatically populates the sign in name, while the user only needs to provide the password.
26+
During a sign-in user journey, a relying party application may target a specific user or domain name. When targeting a user, an application can specify, in the authorization request, the `login_hint` query parameter with the user sign-in name. Azure AD B2C automatically populates the sign-in name, while the user only needs to provide the password.
2727

2828
![Sign up sign in page with login_hint query param highlighted in URL](./media/direct-signin/login-hint.png)
2929

30-
The user is able to change the value in the sign in textbox.
30+
The user is able to change the value in the sign-in textbox.
3131

3232
::: zone pivot="b2c-custom-policy"
3333

34-
To support login hint parameter, override the `SelfAsserted-LocalAccountSignin-Email` technical profile. In the `<InputClaims>` section, set the DefaultValue of the signInName claim to `{OIDC:LoginHint}`. The `{OIDC:LoginHint}` variable contains the value of the `login_hint` parameter. Azure AD B2C reads the value of the signInName claim and pre-populates the signInName textbox.
34+
To support sign in hint parameter, override the `SelfAsserted-LocalAccountSignin-Email` technical profile. In the `<InputClaims>` section, set the DefaultValue of the signInName claim to `{OIDC:LoginHint}`. The `{OIDC:LoginHint}` variable contains the value of the `login_hint` parameter. Azure AD B2C reads the value of the signInName claim and pre-populates the signInName textbox.
3535

3636
```xml
3737
<ClaimsProvider>
@@ -51,7 +51,7 @@ To support login hint parameter, override the `SelfAsserted-LocalAccountSignin-E
5151

5252
## Redirect sign in to a social provider
5353

54-
If you configured the sign in journey for your application to include social accounts, such as Facebook, LinkedIn, or Google, you can specify the `domain_hint` parameter. This query parameter provides a hint to Azure AD B2C about the social identity provider that should be used for sign in. For example, if the application specifies `domain_hint=facebook.com`, sign in goes directly to the Facebook sign in page.
54+
If you configured the sign-in journey for your application to include social accounts, such as Facebook, LinkedIn, or Google, you can specify the `domain_hint` parameter. This query parameter provides a hint to Azure AD B2C about the social identity provider that should be used for sign-in. For example, if the application specifies `domain_hint=facebook.com`, sign in goes directly to the Facebook sign in page.
5555

5656
![Sign up sign in page with domain_hint query param highlighted in URL](./media/direct-signin/domain-hint.png)
5757

0 commit comments

Comments
 (0)