Skip to content

Commit 17b2e01

Browse files
committed
Updating Twitter IDP content to address some changes on Twitter developer site.
1 parent 3f36c11 commit 17b2e01

File tree

1 file changed

+12
-11
lines changed

1 file changed

+12
-11
lines changed

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

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -40,19 +40,18 @@ To enable sign-in for users with a Twitter account in Azure AD B2C, you need to
4040
1. Under **Use case** tab, select your preferred use case, and then select **Next**.
4141
1. Under **Project description** tab, enter your project description, and then select **Next** button.
4242
1. Under **App name** tab, enter a name for your app, such as *azureadb2c*, and the select **Next** button.
43-
1. Under **Keys & Tokens** tab, copy the value of **API Key** and **API Key Secret** for later. You use both of them to configure Twitter as an identity provider in your Azure AD B2C tenant.
43+
1. Under **Keys & Tokens** tab, copy the value of **API Key** and **API Key Secret**. You will use these for configuration later.
4444
1. Select **App settings** to open the app settings.
45-
1. At the lower part of the page, under **User authentication settings**, select **Set up**.
46-
1. In the **User authentication settings** page, select **OAuth 2.0** option.
47-
1. Under **OAUTH 2.0 SETTINGS**, for the **Type of app**, select your appropriate app type such as *Web App*.
48-
1. Under **GENERAL AUTHENTICATION SETTINGS**:
49-
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:
45+
1. At the lower part of the page, under **User authentication settings**, select **Set up**.
46+
1. Under **Type of app**, select your appropriate app type such as *Web App*.
47+
1. Under **App Info**:
48+
1. For the **Callback URI/Redirect URL**, enter `https://your-tenant-name.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:
5049
- `your-tenant-name` with the name of your tenant name.
5150
- `your-domain-name` with your custom domain.
5251
- `your-policy-id` with the identifier of your user flow. For example, `b2c_1a_signup_signin_twitter`.
5352
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`.
54-
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.
55-
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.
53+
1. (Optional) 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.
54+
1. (Optional) 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.
5655
1. Select **Save**.
5756
::: zone-end
5857

@@ -68,9 +67,8 @@ To enable sign-in for users with a Twitter account in Azure AD B2C, you need to
6867
1. Under **Keys & Tokens** tab, copy the value of **API Key** and **API Key Secret** for later. You use both of them to configure Twitter as an identity provider in your Azure AD B2C tenant.
6968
1. Select **App settings** to open the app settings.
7069
1. At the lower part of the page, under **User authentication settings**, select **Set up**.
71-
1. In the **User authentication settings** page, select **OAuth 2.0** option.
72-
1. Under **OAUTH 2.0 SETTINGS**, for the **Type of app**, select your appropriate app type such as *Web App*.
73-
1. Under **GENERAL AUTHENTICATION SETTINGS**:
70+
1. Under **Type of app**, select your appropriate app type such as *Web App*.
71+
1. Under **App Info**:
7472
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:
7573
- `your-tenant-name` with the name of your tenant name.
7674
- `your-domain-name` with your custom domain.
@@ -105,6 +103,9 @@ At this point, the Twitter identity provider has been set up, but it's not yet a
105103
1. Select the user flow that you want to add the Twitter identity provider.
106104
1. Under the **Social identity providers**, select **Twitter**.
107105
1. Select **Save**.
106+
107+
## Test your User Flow
108+
108109
1. To test your policy, select **Run user flow**.
109110
1. For **Application**, select the web application named *testapp1* that you previously registered. The **Reply URL** should show `https://jwt.ms`.
110111
1. Select the **Run user flow** button.

0 commit comments

Comments
 (0)