Make Microsoft.AspNetCore.Authentication.Facebook optional (#10040)

* Make Microsoft.AspNetCore.Authentication.Facebook optional

* minor edits
pull/10050/head
Dave Brock 2018-12-18 11:01:03 -06:00 committed by Scott Addie
parent c0aabee931
commit a3996b71c0
1 changed files with 4 additions and 2 deletions

View File

@ -4,14 +4,14 @@ author: rick-anderson
description: This tutorial demonstrates the integration of Facebook account user authentication into an existing ASP.NET Core app.
ms.author: riande
ms.custom: "mvc, seodec18"
ms.date: 11/11/2018
ms.date: 12/18/2018
uid: security/authentication/facebook-logins
---
# Facebook external login setup in ASP.NET Core
By [Valeriy Novytskyy](https://github.com/01binary) and [Rick Anderson](https://twitter.com/RickAndMSFT)
This tutorial shows you how to enable your users to sign in with their Facebook account using a sample ASP.NET Core 2.0 project created on the [previous page](xref:security/authentication/social/index). Facebook authentication requires the [Microsoft.AspNetCore.Authentication.Facebook](https://www.nuget.org/packages/Microsoft.AspNetCore.Authentication.Facebook) NuGet package. We start by creating a Facebook App ID by following the [official steps](https://developers.facebook.com).
This tutorial shows you how to enable your users to sign in with their Facebook account using a sample ASP.NET Core 2.0 project created on the [previous page](xref:security/authentication/social/index). We start by creating a Facebook App ID by following the [official steps](https://developers.facebook.com).
## Create the app in Facebook
@ -140,6 +140,8 @@ You are now logged in using your Facebook credentials:
## Next steps
* Add the [Microsoft.AspNetCore.Authentication.Facebook](https://www.nuget.org/packages/Microsoft.AspNetCore.Authentication.Facebook) NuGet package to your project for advanced Facebook authentication scenarios. This package isn't required to integrate Facebook external login functionality with your app.
* This article showed how you can authenticate with Facebook. You can follow a similar approach to authenticate with other providers listed on the [previous page](xref:security/authentication/social/index).
* Once you publish your web site to Azure web app, you should reset the `AppSecret` in the Facebook developer portal.