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
# Customer intent: As a tenant administrator, I want to set up Facebook as an identity provider for guest user login.
17
19
---
18
20
19
21
# Add Facebook as an identity provider for External Identities
20
22
21
23
You can add Facebook to your self-service sign-up user flows so that users can sign in to your applications using their own Facebook accounts. To allow users to sign in using Facebook, you'll first need to [enable self-service sign-up](self-service-sign-up-user-flow.md) for your tenant. After you add Facebook as an identity provider, set up a user flow for the application and select Facebook as one of the sign-in options.
22
24
23
-
After you've added Facebook as one of your application's sign-in options, on the **Sign in** page, a user can simply enter the email they use to sign in to Facebook, or they can select **Sign-in options** and choose **Sign in with Facebook**. In either case, they'll be redirected to the Facebook login page for authentication.
25
+
After you've added Facebook as one of your application's sign-in options, on the **Sign in** page, a user can simply enter the email they use to sign in to Facebook, or they can select **Sign-in options** and choose **Sign in with Facebook**. In either case, they'll be redirected to the Facebook sign in page for authentication.
24
26
25
27

26
28
@@ -38,23 +40,24 @@ To use a Facebook account as an [identity provider](identity-providers.md), you
38
40
39
41
40
42
1. Sign in to [Facebook for developers](https://developers.facebook.com/) with your Facebook account credentials.
41
-
2. If you have not already done so, you need to register as a Facebook developer. To do this, select **Get Started** on the upper-right corner of the page, accept Facebook's policies, and complete the registration steps.
43
+
2. If you haven't already done so, you need to register as a Facebook developer. To do this, select **Get Started** on the upper-right corner of the page, accept Facebook's policies, and complete the registration steps.
42
44
3. Select **My Apps** and then **Create App**.
43
-
4. Enter a **Display Name** and a valid **Contact Email**.
44
-
5. Select **Create App ID**. This may require you to accept Facebook platform policies and complete an online security check.
45
-
6. Select **Settings** > **Basic**.
46
-
7. Choose a **Category**, for example Business and Pages. This value is required by Facebook, but not used for Azure AD.
47
-
8. At the bottom of the page, select **Add Platform**, and then select **Website**.
48
-
9. In **Site URL**, enter the appropriate URL (noted above).
49
-
10. In **Privacy Policy URL**, enter the URL for the page where you maintain privacy information for your application, for example `http://www.contoso.com`.
50
-
11. Select **Save Changes**.
51
-
12. At the top of the page, copy the value of **App ID**.
52
-
13. Select **Show** and copy the value of **App Secret**. You use both of them to configure Facebook as an identity provider in your tenant. **App Secret** is an important security credential.
53
-
14. Select the plus sign next to **PRODUCTS**, and then select **Set up** under **Facebook Login**.
54
-
15. Under **Facebook Login**, select **Settings**.
55
-
16. In **Valid OAuth redirect URIs**, enter the appropriate URL (noted above).
56
-
17. Select **Save Changes** at the bottom of the page.
57
-
18. To make your Facebook application available to Azure AD, select the Status selector at the top right of the page and turn it **On** to make the Application public, and then select **Switch Mode**. At this point the Status should change from **Development** to **Live**.
45
+
1.**Select an app type** and then **Details**
46
+
1.**Add an app name** and a valid **App contact email**.
47
+
1. Select **Create app**. This may require you to accept Facebook platform policies and complete an online security check.
48
+
1. Select **Settings** > **Basic**.
49
+
1. Choose a **Category**, for example **Business and pages**. This value is required by Facebook, but not used for Azure AD.
50
+
1. At the bottom of the page, select **Add Platform**, and then select **Website**.
51
+
1. In **Site URL**, enter the appropriate URL (noted above).
52
+
1. In **Privacy Policy URL** at the top of the page, enter the URL for the page where you maintain privacy information for your application, for example `http://www.contoso.com`.
53
+
1. Select **Save changes**.
54
+
1. At the top of the page, copy the value of **App ID**.
55
+
1. At the top of the page, select **Show** and copy the value of **App secret**. You use both of them to configure Facebook as an identity provider in your tenant. **App secret** is an important security credential.
56
+
1. In the left menu select **Add Product** next to **Products**, and then select **Set up** under **Facebook Login**.
57
+
1. Under **Facebook Login** in the left, select **Settings**.
58
+
1. In **Valid OAuth redirect URIs**, enter the appropriate URL (noted above).
59
+
1. Select **Save changes** at the bottom of the page.
60
+
1. To make your Facebook application available to Azure AD, select the **App Mode** selector at the top of the page and turn it **Live** to make the Application public.
58
61
59
62
## Configure a Facebook account as an identity provider
60
63
Now you'll set the Facebook client ID and client secret, either by entering it in the Azure AD portal or by using PowerShell. You can test your Facebook configuration by signing up via a user flow on an app enabled for self-service sign-up.
@@ -65,9 +68,9 @@ Now you'll set the Facebook client ID and client secret, either by entering it i
65
68
3. In the left menu, select **External Identities**.
66
69
4. Select **All identity providers**, then select **Facebook**.
67
70
5. For the **Client ID**, enter the **App ID** of the Facebook application that you created earlier.
68
-
6. For the **Client secret**, enter the **App Secret** that you recorded.
71
+
6. For the **Client secret**, enter the **App secret** that you recorded.
69
72
70
-

73
+
:::image type="content" source="media/facebook-federation/add-social-identity-provider-page.png" alt-text="Screenshot showing the Add social identity provider page.":::
71
74
72
75
7. Select **Save**.
73
76
### To configure Facebook federation by using PowerShell
@@ -83,13 +86,14 @@ Now you'll set the Facebook client ID and client secret, either by entering it i
83
86
> Use the client ID and client secret from the app you created above in the Facebook developer console. For more information, see the [New-AzureADMSIdentityProvider](/powershell/module/azuread/new-azureadmsidentityprovider?view=azureadps-2.0-preview&preserve-view=true) article.
84
87
85
88
## How do I remove Facebook federation?
86
-
You can delete your Facebook federation setup. If you do so, any users who have signed up through user flows with their Facebook accounts will no longer be able to log in.
89
+
You can delete your Facebook federation setup. If you do so, any users who have signed up through user flows with their Facebook accounts will no longer be able to sign in.
87
90
88
91
### To delete Facebook federation in the Azure AD portal:
89
-
1. Go to the [Azure portal](https://portal.azure.com). In the left pane, select **Azure Active Directory**.
90
-
2. Select **External Identities**.
92
+
1. Sign in to the [Azure portal](https://portal.azure.com) as the global administrator of your Azure AD tenant.
93
+
2. Under **Azure services**, select **Azure Active Directory**.
94
+
3. In the left menu, select **External Identities**.
91
95
3. Select **All identity providers**.
92
-
4.On the **Facebook** line, select the context menu (**...**) and then select **Delete**.
96
+
4.Select the **Facebook** line, and then select **Delete**.
93
97
5. Select **Yes** to confirm deletion.
94
98
95
99
### To delete Facebook federation by using PowerShell:
@@ -105,4 +109,6 @@ You can delete your Facebook federation setup. If you do so, any users who have
105
109
106
110
## Next steps
107
111
108
-
-[Add self-service sign-up to an app](self-service-sign-up-user-flow.md)
112
+
-[Add self-service sign-up to an app](self-service-sign-up-user-flow.md)
0 commit comments