Skip to content

Commit 46767bb

Browse files
authored
Merge pull request #45704 from parakhj/master
Updating twitter callback URL
2 parents 6d422ed + 03ea9de commit 46767bb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

articles/active-directory-b2c/active-directory-b2c-custom-setup-twitter-idp.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ To use Twitter as an identity provider in Azure Active Directory B2C (Azure AD B
3434

3535
b. In the **Website** box, paste **https://login.microsoftonline.com**.
3636

37-
c. In the **Callback URL** box, paste **https://login.microsoftonline.com/te/{tenant}.onmicrosoft.com/oauth2/authresp**. Replace {*tenant*} with your tenant name (for example, contosob2c.onmicrosoft.com). Make sure that you are using the HTTPS scheme.
37+
c. 4. For the **Callback URL**, enter `https://login.microsoftonline.com/te/{tenant}/{policyId}/oauth1/authresp`. Make sure to replace **{tenant}** with your tenant's name (for example, contosob2c.onmicrosoft.com) and **{policyId}** with your policy id (for example, b2c_1_policy). **The callback URL needs to be in all lowercase.** You should add a callback URL for all policies that use the Twitter login. Make sure to use `b2clogin.com` instead of ` login.microsoftonline.com` if you are using it in your application.
3838

3939
d. At the bottom of the page, read and accept the terms, and then select **Create your Twitter application**.
4040

articles/active-directory-b2c/active-directory-b2c-setup-twitter-app.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ To use Twitter as an identity provider in Azure Active Directory (Azure AD) B2C,
2222
1. Go to the [Twitter Apps](https://apps.twitter.com/) and sign in with your credentials.
2323
2. Click **Create New App**.
2424
3. In the form, provide a value for the **Name**, **Description**, and **Website**.
25-
4. For the **Callback URL**, enter `https://login.microsoftonline.com/te/{tenant}/{policyId}/oauth1/authresp`. Make sure to replace **{tenant}** with your tenant's name (for example, contosob2c.onmicrosoft.com) and {policyId} with your policy id (for example, b2c_1_policy). This callback URL needs to be in all lowercase. You should add a callback URL for all policies that use the Twitter login. Make sure to use `b2clogin.com` instead of ` login.microsoftonline.com` if you are using it in your application.
25+
4. For the **Callback URL**, enter `https://login.microsoftonline.com/te/{tenant}/{policyId}/oauth1/authresp`. Make sure to replace **{tenant}** with your tenant's name (for example, contosob2c.onmicrosoft.com) and **{policyId}** with your policy id (for example, b2c_1_policy). **The callback URL needs to be in all lowercase.** You should add a callback URL for all policies that use the Twitter login. Make sure to use `b2clogin.com` instead of ` login.microsoftonline.com` if you are using it in your application.
2626
5. Check the box to agree to the **Developer Agreement** and click **Create your Twitter application**.
2727
6. After the app is created, select it in the list, select the **Settings** tab, and then click **Update settings**.
2828
7. Select the **Keys and Access Tokens** tab.

0 commit comments

Comments
 (0)