Microsoft.AspNetCore.Authentication.Facebook 10.0.13

Prefix Reserved
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package Microsoft.AspNetCore.Authentication.Facebook --version 10.0.13
                    
NuGet\Install-Package Microsoft.AspNetCore.Authentication.Facebook -Version 10.0.13
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Microsoft.AspNetCore.Authentication.Facebook" Version="10.0.13" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Microsoft.AspNetCore.Authentication.Facebook" Version="10.0.13" />
                    
Directory.Packages.props
<PackageReference Include="Microsoft.AspNetCore.Authentication.Facebook" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Microsoft.AspNetCore.Authentication.Facebook --version 10.0.13
                    
#r "nuget: Microsoft.AspNetCore.Authentication.Facebook, 10.0.13"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Microsoft.AspNetCore.Authentication.Facebook@10.0.13
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Microsoft.AspNetCore.Authentication.Facebook&version=10.0.13
                    
Install as a Cake Addin
#tool nuget:?package=Microsoft.AspNetCore.Authentication.Facebook&version=10.0.13
                    
Install as a Cake Tool

About

Microsoft.AspNetCore.Authentication.Facebook provides ASP.NET Core middleware that enables an application to support Facebook's OAuth 2.0 authentication workflow.

How to Use

To use Microsoft.AspNetCore.Authentication.Facebook, follow these steps:

Installation

dotnet add package Microsoft.AspNetCore.Authentication.Facebook

Configuration

  1. Refer to the guide in the official documentation here to create the app in Facebook.
  2. Follow the steps in the official documentation here to store the Facebook app ID and secret.
  3. Configure the middleware your ASP.NET Core app's Program.cs:
var builder = WebApplication.CreateBuilder(args);

builder.Services.AddAuthentication()
    .AddFacebook(options =>
    {
        options.AppId = Configuration["Authentication:Facebook:AppId"];
        options.AppSecret = Configuration["Authentication:Facebook:AppSecret"];
    });

Main Types

The main types provided by this package are:

  • FacebookOptions: Represents the options for configuring Facebook authentication
  • FacebookHandler: The authentication handler responsible for processing Facebook authentication requests and generating the appropriate authentication ticket

Additional Documentation

For additional documentation and examples, refer to the official documentation on Facebook login setup in ASP.NET Core.

Feedback & Contributing

Microsoft.AspNetCore.Authentication.Facebook is released as open-source under the MIT license. Bug reports and contributions are welcome at the GitHub repository.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net10.0

    • No dependencies.

NuGet packages (112)

Showing the top 5 NuGet packages that depend on Microsoft.AspNetCore.Authentication.Facebook:

Package Downloads
Microsoft.AspNetCore.App

Provides a default set of APIs for building an ASP.NET Core application. This package requires the ASP.NET Core runtime. This runtime is installed by the .NET Core SDK, or can be acquired separately using installers available at https://aka.ms/dotnet-download.

Microsoft.AspNetCore.All

Provides a default set of APIs for building an ASP.NET Core application, and also includes API for third-party integrations with ASP.NET Core. This package requires the ASP.NET Core runtime. This runtime is installed by the .NET Core SDK, or can be acquired separately using installers available at https://aka.ms/dotnet-download.

Abp.AspNetZeroCore.Web

Package Description

cloudscribe.Core.Identity

asp.net identity implementation for cloudscribe web application foundation

OrchardCore.Facebook

Orchard Core CMS is a Web Content Management System (CMS) built on top of the Orchard Core Framework. Provides Facebook Authentication and Social plugnin features.

GitHub repositories (4)

Showing the top 4 popular GitHub repositories that depend on Microsoft.AspNetCore.Authentication.Facebook:

Repository Stars
dotnet/maui
.NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.
nopSolutions/nopCommerce
ASP.NET Core eCommerce software. nopCommerce is a free and open-source shopping cart.
OrchardCMS/OrchardCore
Orchard Core is an open-source modular and multi-tenant application framework built with ASP.NET Core, and a content management system (CMS) built on top of that framework.
EduardoPires/EquinoxProject
Web Application ASP.NET 9 using Clean Architecture, DDD, CQRS, Event Sourcing and a lot of good practices
Version Downloads Last Updated
11.0.0-rc.2.26504.105 633 10/13/2026
11.0.0-rc.1.26425.128 17,250 9/8/2026
11.0.0-preview.7.26381.103 438 8/11/2026
11.0.0-preview.6.26359.118 295 7/14/2026
10.0.13 15,156 10/13/2026
10.0.12 88,742 9/8/2026
10.0.11 88,905 8/11/2026
10.0.10 116,165 7/14/2026
9.0.21 999 10/13/2026
9.0.20 4,610 9/8/2026
9.0.19 3,511 8/11/2026
9.0.18 2,917 7/14/2026
9.0.17 8,770 6/9/2026
8.0.32 533 10/13/2026
8.0.31 3,121 9/8/2026
8.0.30 1,877 8/11/2026
8.0.29 5,852 7/14/2026
2.3.13 239 9/8/2026
2.3.12 344 8/11/2026
2.3.11 417 6/9/2026
Loading failed