Skip to content

Commit 701f309

Browse files
committed
Resolve GitHub issue 96952
1 parent 38519d1 commit 701f309

File tree

1 file changed

+18
-8
lines changed

1 file changed

+18
-8
lines changed

articles/active-directory-b2c/identity-provider-twitter.md

Lines changed: 18 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -45,12 +45,25 @@ To enable sign-in for users with a Twitter account in Azure AD B2C, you need to
4545
1. In the **User authentication settings** page, select **OAuth 2.0** option.
4646
1. Under **OAUTH 2.0 SETTINGS**, for the **Type of app**, select your appropriate app type such as *Web App*.
4747
1. Under **GENERAL AUTHENTICATION SETTINGS**:
48-
1. For the **Callback URI/Redirect URL**, enter `https://your-tenant.b2clogin.com/your-tenant-name.onmicrosoft.com/your-user-flow-Id/oauth1/authresp`. If you use a [custom domain](custom-domain.md), enter `https://your-domain-name/your-tenant-name.onmicrosoft.com/your-user-flow-Id/oauth1/authresp`. Use all lowercase letters when entering your tenant name and user flow ID even if they are defined with uppercase letters in Azure AD B2C. Replace:
48+
49+
::: zone pivot="b2c-custom-policy"
50+
51+
1. For the **Callback URI/Redirect URL**, enter `https://your-tenant.b2clogin.com/your-tenant-name.onmicrosoft.com/your-policy-id/oauth1/authresp`. If you use a [custom domain](custom-domain.md), enter `https://your-domain-name/your-tenant-name.onmicrosoft.com/your-user-flow-Id/oauth1/authresp`. Use all lowercase letters when entering your tenant name and user flow ID even if they are defined with uppercase letters in Azure AD B2C. Replace:
52+
- `your-tenant-name` with the name of your tenant name.
53+
- `your-domain-name` with your custom domain.
54+
- `your-policy-id` with the identifier of your user flow. For example, `b2c_1a_signup_signin_twitter`.
55+
::: zone-end
56+
57+
58+
::: zone pivot="b2c-user-flow"
59+
60+
1. For the **Callback URI/Redirect URL**, enter `https://your-tenant.b2clogin.com/your-tenant-name.onmicrosoft.com/your-user-flow-name/oauth1/authresp`. If you use a [custom domain](custom-domain.md), enter `https://your-domain-name/your-tenant-name.onmicrosoft.com/your-user-flow-Id/oauth1/authresp`. Use all lowercase letters when entering your tenant name and user flow ID even if they are defined with uppercase letters in Azure AD B2C. Replace:
4961
- `your-tenant-name` with the name of your tenant name.
5062
- `your-domain-name` with your custom domain.
51-
- `your-user-flow-Id` with the identifier of your user flow. For example, `b2c_1a_signup_signin_twitter`.
52-
53-
1. For the **Website URL**, enter `https://your-tenant.b2clogin.com`. Replace `your-tenant` with the name of your tenant. For example, `https://contosob2c.b2clogin.com`. If you use a [custom domain](custom-domain.md), enter `https://your-domain-name`.
63+
- `your-user-flow-name` with the identifier of your user flow. For example, `b2c_1_signup_signin_twitter`.
64+
::: zone-end
65+
66+
1. For the **Website URL**, enter `https://your-tenant.b2clogin.com`. Replace `your-tenant` with the name of your tenant. For example, `https://contosob2c.b2clogin.com`. If you use a [custom domain](custom-domain.md), enter `https://your-domain-name`.
5467
1. Enter a URL for the **Terms of service**, for example `http://www.contoso.com/tos`. The policy URL is a page you maintain to provide terms and conditions for your application.
5568
1. Enter a URL for the **Privacy policy**, for example `http://www.contoso.com/privacy`. The policy URL is a page you maintain to provide privacy information for your application.
5669
1. Select **Save**.
@@ -83,8 +96,6 @@ At this point, the Twitter identity provider has been set up, but it's not yet a
8396
1. Select the **Run user flow** button.
8497
1. From the sign-up or sign-in page, select **Twitter** to sign in with Twitter account.
8598

86-
If the sign-in process is successful, your browser is redirected to `https://jwt.ms`, which displays the contents of the token returned by Azure AD B2C.
87-
8899
::: zone-end
89100

90101
::: zone pivot="b2c-custom-policy"
@@ -186,7 +197,6 @@ You can define a Twitter account as a claims provider by adding it to the **Clai
186197
1. For **Application**, select a web application that you [previously registered](tutorial-register-applications.md). The **Reply URL** should show `https://jwt.ms`.
187198
1. Select the **Run now** button.
188199
1. From the sign-up or sign-in page, select **Twitter** to sign in with Twitter account.
200+
::: zone-end
189201

190202
If the sign-in process is successful, your browser is redirected to `https://jwt.ms`, which displays the contents of the token returned by Azure AD B2C.
191-
192-
::: zone-end

0 commit comments

Comments
 (0)