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
Copy file name to clipboardExpand all lines: articles/app-service/configure-authentication-provider-facebook.md
+9-14Lines changed: 9 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@ ms.workload: mobile
13
13
ms.tgt_pltfrm: na
14
14
ms.devlang: multiple
15
15
ms.topic: article
16
-
ms.date: 04/19/2018
16
+
ms.date: 06/06/2019
17
17
ms.author: mahender
18
18
ms.custom: seodec18
19
19
@@ -26,19 +26,14 @@ This topic shows you how to configure Azure App Service to use Facebook as an au
26
26
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].
27
27
28
28
## <aname="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**.
33
32
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.
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.
42
37
43
38
> [!IMPORTANT]
44
39
> 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
47
42
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.
48
43
49
44
## <aname="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**.
51
46
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**.
0 commit comments