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
To enable sign-in for users with a Twitter account in Azure AD B2C, you need to create a Twitter application. If you don't already have a Twitter account, you can sign up at [`https://twitter.com/signup`](https://twitter.com/signup). You also need to [Apply for a developer account](https://developer.twitter.com/). For more information, see [Apply for access](https://developer.twitter.com/en/apply-for-access).
35
35
36
+
::: zone pivot="b2c-custom-policy"
36
37
1. Sign in to the [Twitter Developer Portal](https://developer.twitter.com/portal/projects-and-apps) with your Twitter account credentials.
37
38
1. Select **+ Create Project** button.
38
39
1. Under **Project name** tab, enter a preferred name of your project, and then select **Next** button.
@@ -45,28 +46,41 @@ To enable sign-in for users with a Twitter account in Azure AD B2C, you need to
45
46
1. In the **User authentication settings** page, select **OAuth 2.0** option.
46
47
1. Under **OAUTH 2.0 SETTINGS**, for the **Type of app**, select your appropriate app type such as *Web App*.
47
48
1. Under **GENERAL AUTHENTICATION SETTINGS**:
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:
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:
52
50
-`your-tenant-name` with the name of your tenant name.
53
51
-`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
52
+
-`your-policy-id` with the identifier of your user flow. For example, `b2c_1a_signup_signin_twitter`.
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`.
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.
56
+
1. Select **Save**.
57
+
::: zone-end
56
58
57
59
58
-
::: zone pivot="b2c-user-flow"
60
+
::: zone pivot="b2c-user-flow"
59
61
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:
62
+
1. Sign in to the [Twitter Developer Portal](https://developer.twitter.com/portal/projects-and-apps) with your Twitter account credentials.
63
+
1. Select **+ Create Project** button.
64
+
1. Under **Project name** tab, enter a preferred name of your project, and then select **Next** button.
65
+
1. Under **Use case** tab, select your preferred use case, and then select **Next**.
66
+
1. Under **Project description** tab, enter your project description, and then select **Next** button.
67
+
1. Under **App name** tab, enter a name for your app, such as *azureadb2c*, and the select **Next** button.
68
+
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.
69
+
1. Select **App settings** to open the app settings.
70
+
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**:
74
+
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:
61
75
-`your-tenant-name` with the name of your tenant name.
62
76
-`your-domain-name` with your custom domain.
63
77
-`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`.
67
-
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.
68
-
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.
78
+
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`.
79
+
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.
80
+
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.
0 commit comments