Skip to content

Commit c7c92f5

Browse files
Merge pull request #78900 from cephalin/issue13985
#13985
2 parents 0b07fc8 + 487f42c commit c7c92f5

File tree

1 file changed

+9
-14
lines changed

1 file changed

+9
-14
lines changed

articles/app-service/configure-authentication-provider-facebook.md

Lines changed: 9 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ ms.workload: mobile
1313
ms.tgt_pltfrm: na
1414
ms.devlang: multiple
1515
ms.topic: article
16-
ms.date: 04/19/2018
16+
ms.date: 06/06/2019
1717
ms.author: mahender
1818
ms.custom: seodec18
1919

@@ -26,19 +26,14 @@ This topic shows you how to configure Azure App Service to use Facebook as an au
2626
To complete the procedure in this topic, you must have a Facebook account that has a verified email address and a mobile phone number. To create a new Facebook account, go to [facebook.com].
2727

2828
## <a name="register"> </a>Register your application with Facebook
29-
1. Log on to the [Azure portal], and navigate to your application. Copy your **URL**. You will use this to configure your Facebook app.
30-
2. In another browser window, navigate to the [Facebook Developers] website and sign-in with your Facebook account credentials.
31-
3. (Optional) If you have not already registered, click **Apps** > **Register as a Developer**, then accept the policy and follow the registration steps.
32-
4. Click **My Apps** > **Add a New App**.
29+
1. Navigate to the [Facebook Developers] website and sign-in with your Facebook account credentials.
30+
3. (Optional) If you don't have a Facebook for Developers account, click **Get Started** and follow the registration steps.
31+
4. Click **My Apps** > **Add New App**.
3332
5. In **Display Name**, type a unique name for your app. Also provide your **Contact Email**, and then click **Create App ID** and complete the security check. This takes you to the developer dashboard for your new Facebook app.
34-
6. Under **Facebook Login**, click **Set up**, and then choose **Settings** in the left-hand navigation under **Facebook Login**.
35-
7. Add your application's **Redirect URI** to **Valid OAuth redirect URIs**, then click **Save Changes**.
36-
37-
> [!NOTE]
38-
> Your redirect URI is the URL of your application appended with the path, */.auth/login/facebook/callback*. For example, `https://contoso.azurewebsites.net/.auth/login/facebook/callback`. Make sure that you are using the HTTPS scheme.
39-
>
40-
>
41-
8. In the left-hand navigation, click **Settings** > **Basic**. On the **App Secret** field, click **Show**, provide your password if requested, then make a note of the values of **App ID** and **App Secret**. You use these later to configure your application in Azure.
33+
6. Click **Dashboard** > **Facebook Login** > **Set up** > **Web**.
34+
1. In the left-hand navigation under **Facebook Login**, click **Settings**.
35+
1. In **Valid OAuth redirect URIs**, type `https://<app-name>.azurewebsites.net/.auth/login/facebook/callback` and replace *\<app-name>* with the name of your Azure App Service app. Click **Save Changes**.
36+
8. In the left-hand navigation, click **Settings** > **Basic**. On the **App Secret** field, click **Show**. Copy the values of **App ID** and **App Secret**. You use these later to configure your App Service app in Azure.
4237

4338
> [!IMPORTANT]
4439
> The app secret is an important security credential. Do not share this secret with anyone or distribute it within a client application.
@@ -47,7 +42,7 @@ To complete the procedure in this topic, you must have a Facebook account that h
4742
9. The Facebook account which was used to register the application is an administrator of the app. At this point, only administrators can sign into this application. To authenticate other Facebook accounts, click **App Review** and enable **Make \<your-app-name> public** to enable general public access using Facebook authentication.
4843

4944
## <a name="secrets"> </a>Add Facebook information to your application
50-
1. Back in the [Azure portal], navigate to your application. Click **Settings** > **Authentication / Authorization**, and make sure that **App Service Authentication** is **On**.
45+
1. Sign in to the [Azure portal] and navigate to your App Service app. Click **Settings** > **Authentication / Authorization**, and make sure that **App Service Authentication** is **On**.
5146
2. Click **Facebook**, paste in the App ID and App Secret values which you obtained previously, optionally enable any scopes needed by your application, then click **OK**.
5247

5348
![][0]

0 commit comments

Comments
 (0)