Microsoft.AspNetCore.Authentication.Facebook 10.0.0-preview.1.25120.3

Prefix Reserved
This is a prerelease version of Microsoft.AspNetCore.Authentication.Facebook.
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.0-preview.1.25120.3                
NuGet\Install-Package Microsoft.AspNetCore.Authentication.Facebook -Version 10.0.0-preview.1.25120.3                
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.0-preview.1.25120.3" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Microsoft.AspNetCore.Authentication.Facebook --version 10.0.0-preview.1.25120.3                
#r "nuget: Microsoft.AspNetCore.Authentication.Facebook, 10.0.0-preview.1.25120.3"                
#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.
// Install Microsoft.AspNetCore.Authentication.Facebook as a Cake Addin
#addin nuget:?package=Microsoft.AspNetCore.Authentication.Facebook&version=10.0.0-preview.1.25120.3&prerelease

// Install Microsoft.AspNetCore.Authentication.Facebook as a Cake Tool
#tool nuget:?package=Microsoft.AspNetCore.Authentication.Facebook&version=10.0.0-preview.1.25120.3&prerelease                

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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net10.0

    • No dependencies.

NuGet packages (83)

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

NanoCore

The project is inspired by years of tedious repetitions, continuously re-writing similar code-snippets and libraries, to handle common functionality, not related to the business domain, such as logging, data persistence, message queuing, documentation, validation and similar.

FenixAlliance.ACL.Dependencies

Application Component for the Alliance Business Suite.

GitHub repositories (33)

Showing the top 5 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 8 using Clean Architecture, DDD, CQRS, Event Sourcing and a lot of good practices
simplcommerce/SimplCommerce
A simple, cross platform, modulith ecommerce system built on .NET
Version Downloads Last updated
10.0.0-preview.2.25164.1 41 3/18/2025
10.0.0-preview.1.25120.3 229 2/25/2025
9.0.3 6,625 3/11/2025
9.0.2 22,203 2/11/2025
9.0.1 24,930 1/14/2025
9.0.0 48,542 11/12/2024
9.0.0-rc.2.24474.3 3,263 10/8/2024
9.0.0-rc.1.24452.1 2,788 9/10/2024
9.0.0-preview.7.24406.2 576 8/13/2024
9.0.0-preview.6.24328.4 61,527 7/9/2024
9.0.0-preview.5.24306.11 278 6/11/2024
9.0.0-preview.4.24267.6 273 5/21/2024
9.0.0-preview.3.24172.13 760 4/11/2024
9.0.0-preview.2.24128.4 497 3/12/2024
9.0.0-preview.1.24081.5 1,720 2/13/2024
8.0.14 1,122 3/11/2025
8.0.13 7,639 2/11/2025
8.0.12 12,151 1/14/2025
8.0.11 59,673 11/12/2024
8.0.10 80,743 10/8/2024
8.0.8 133,889 8/13/2024
8.0.7 75,327 7/9/2024
8.0.6 88,922 5/28/2024
8.0.5 34,711 5/14/2024
8.0.4 112,286 4/9/2024
8.0.3 61,925 3/12/2024
8.0.2 62,994 2/13/2024
8.0.1 92,488 1/9/2024
8.0.0 287,704 11/14/2023
8.0.0-rc.2.23480.2 5,832 10/10/2023
8.0.0-rc.1.23421.29 1,099 9/12/2023
8.0.0-preview.7.23375.9 973 8/8/2023
8.0.0-preview.6.23329.11 736 7/11/2023
8.0.0-preview.5.23302.2 849 6/13/2023
8.0.0-preview.4.23260.4 215,574 5/16/2023
8.0.0-preview.3.23177.8 1,417 4/11/2023
8.0.0-preview.2.23153.2 90,604 3/14/2023
8.0.0-preview.1.23112.2 570 2/21/2023
7.0.20 12,188 5/28/2024
7.0.19 1,723 5/14/2024
7.0.18 1,502 4/9/2024
7.0.17 6,006 3/12/2024
7.0.16 3,837 2/13/2024
7.0.15 8,554 1/9/2024
7.0.14 17,827 11/14/2023
7.0.13 66,685 10/24/2023
7.0.12 34,209 10/10/2023
7.0.11 39,918 9/12/2023
7.0.10 82,693 8/8/2023
7.0.9 61,653 7/11/2023
7.0.8 35,831 6/22/2023
7.0.7 20,894 6/13/2023
7.0.5 169,164 4/11/2023
7.0.4 66,068 3/14/2023
7.0.3 57,754 2/14/2023
7.0.2 79,955 1/10/2023
7.0.1 99,854 12/13/2022
7.0.0 80,925 11/7/2022
7.0.0-rc.2.22476.2 1,207 10/11/2022
7.0.0-rc.1.22427.2 66,721 9/14/2022
7.0.0-preview.7.22376.6 794 8/9/2022
7.0.0-preview.6.22330.3 496 7/12/2022
7.0.0-preview.5.22303.8 801 6/14/2022
7.0.0-preview.4.22251.1 776 5/10/2022
7.0.0-preview.3.22178.4 659 4/13/2022
7.0.0-preview.2.22153.2 439 3/14/2022
7.0.0-preview.1.22109.13 441 2/17/2022
6.0.36 2,845 11/12/2024
6.0.35 9,005 10/8/2024
6.0.33 4,093 8/13/2024
6.0.32 3,668 7/9/2024
6.0.31 5,770 5/28/2024
6.0.30 1,924 5/14/2024
6.0.29 4,650 4/9/2024
6.0.28 11,556 3/12/2024
6.0.27 10,190 2/13/2024
6.0.26 12,498 1/9/2024
6.0.25 38,567 11/14/2023
6.0.24 12,826 10/24/2023
6.0.23 10,662 10/10/2023
6.0.22 18,849 9/12/2023
6.0.21 50,662 8/8/2023
6.0.20 17,714 7/11/2023
6.0.19 12,473 6/22/2023
6.0.18 6,832 6/13/2023
6.0.16 93,082 4/11/2023
6.0.15 41,197 3/14/2023
6.0.14 39,034 2/14/2023
6.0.13 55,566 1/10/2023
6.0.12 53,563 12/13/2022
6.0.11 81,549 11/7/2022
6.0.10 201,006 10/11/2022
6.0.9 84,006 9/13/2022
6.0.8 162,009 8/9/2022
6.0.7 222,446 7/12/2022
6.0.6 132,637 6/14/2022
6.0.5 983,950 5/10/2022
6.0.4 155,615 4/11/2022
6.0.3 112,241 3/8/2022
6.0.2 100,157 2/8/2022
6.0.1 807,786 12/14/2021
6.0.0 381,564 11/8/2021
6.0.0-rc.2.21480.10 2,629 10/12/2021
6.0.0-rc.1.21452.15 9,233 9/14/2021
6.0.0-preview.7.21378.6 1,498 8/10/2021
6.0.0-preview.6.21355.2 837 7/14/2021
6.0.0-preview.5.21301.17 819 6/15/2021
6.0.0-preview.4.21253.5 728 5/24/2021
6.0.0-preview.3.21201.13 646 4/8/2021
6.0.0-preview.2.21154.6 613 3/11/2021 6.0.0-preview.2.21154.6 is deprecated because it is no longer maintained.
6.0.0-preview.1.21103.6 1,741 2/12/2021 6.0.0-preview.1.21103.6 is deprecated because it is no longer maintained.
5.0.17 34,071 5/10/2022 5.0.17 is deprecated because it is no longer maintained.
5.0.16 12,236 4/11/2022 5.0.16 is deprecated because it is no longer maintained.
5.0.15 11,077 3/8/2022 5.0.15 is deprecated because it is no longer maintained.
5.0.14 12,497 2/8/2022 5.0.14 is deprecated because it is no longer maintained.
5.0.13 40,289 12/14/2021 5.0.13 is deprecated because it is no longer maintained.
5.0.12 28,399 11/7/2021 5.0.12 is deprecated because it is no longer maintained.
5.0.11 80,795 10/12/2021 5.0.11 is deprecated because it is no longer maintained.
5.0.10 84,719 9/14/2021 5.0.10 is deprecated because it is no longer maintained.
5.0.9 67,491 8/10/2021 5.0.9 is deprecated because it is no longer maintained.
5.0.8 113,586 7/13/2021 5.0.8 is deprecated because it is no longer maintained.
5.0.7 128,171 6/8/2021 5.0.7 is deprecated because it is no longer maintained.
5.0.6 66,948 5/11/2021 5.0.6 is deprecated because it is no longer maintained.
5.0.5 110,997 4/6/2021 5.0.5 is deprecated because it is no longer maintained.
5.0.4 98,463 3/9/2021 5.0.4 is deprecated because it is no longer maintained.
5.0.3 225,999 2/9/2021 5.0.3 is deprecated because it is no longer maintained.
5.0.2 53,621 1/12/2021 5.0.2 is deprecated because it is no longer maintained.
5.0.1 90,540 12/8/2020 5.0.1 is deprecated because it is no longer maintained.
5.0.0 398,919 11/9/2020 5.0.0 is deprecated because it is no longer maintained.
5.0.0-rc.2.20475.17 1,603 10/13/2020 5.0.0-rc.2.20475.17 is deprecated because it is no longer maintained.
5.0.0-rc.1.20451.17 2,647 9/14/2020 5.0.0-rc.1.20451.17 is deprecated because it is no longer maintained.
5.0.0-preview.8.20414.8 738 8/25/2020 5.0.0-preview.8.20414.8 is deprecated because it is no longer maintained.
5.0.0-preview.7.20365.19 1,082 7/21/2020 5.0.0-preview.7.20365.19 is deprecated because it is no longer maintained.
5.0.0-preview.6.20312.15 1,631 6/25/2020 5.0.0-preview.6.20312.15 is deprecated because it is no longer maintained.
5.0.0-preview.5.20279.2 599 6/10/2020 5.0.0-preview.5.20279.2 is deprecated because it is no longer maintained.
5.0.0-preview.4.20257.10 742 5/18/2020 5.0.0-preview.4.20257.10 is deprecated because it is no longer maintained.
5.0.0-preview.3.20215.14 677 4/23/2020 5.0.0-preview.3.20215.14 is deprecated because it is no longer maintained.
5.0.0-preview.2.20167.3 712 4/2/2020 5.0.0-preview.2.20167.3 is deprecated because it is no longer maintained.
5.0.0-preview.1.20124.5 685 3/16/2020 5.0.0-preview.1.20124.5 is deprecated because it is no longer maintained.
3.1.32 12,426 12/13/2022
3.1.31 4,496 11/8/2022
3.1.30 9,396 10/11/2022
3.1.29 2,949 9/13/2022
3.1.28 7,877 8/9/2022
3.1.27 5,959 7/12/2022
3.1.26 8,526 6/14/2022
3.1.25 10,798 5/10/2022
3.1.24 3,697 4/11/2022
3.1.23 11,764 3/8/2022
3.1.22 33,929 12/14/2021
3.1.21 21,766 11/7/2021
3.1.20 19,878 10/11/2021
3.1.19 17,944 9/14/2021
3.1.18 76,346 8/10/2021
3.1.17 41,538 7/13/2021
3.1.16 26,958 6/8/2021
3.1.15 17,715 5/11/2021
3.1.14 35,967 4/6/2021
3.1.13 74,691 3/9/2021
3.1.12 44,551 2/9/2021
3.1.11 119,978 1/12/2021
3.1.10 215,282 11/9/2020
3.1.9 185,586 10/13/2020
3.1.8 174,603 9/8/2020
3.1.7 73,397 8/11/2020
3.1.6 102,244 7/14/2020
3.1.5 234,744 6/9/2020
3.1.4 248,457 5/12/2020
3.1.3 222,065 3/24/2020
3.1.2 189,920 2/18/2020
3.1.1 135,297 1/14/2020
3.1.0 146,580 12/3/2019
3.1.0-preview3.19555.2 701 11/13/2019 3.1.0-preview3.19555.2 is deprecated because it is no longer maintained.
3.1.0-preview2.19528.8 640 11/1/2019 3.1.0-preview2.19528.8 is deprecated because it is no longer maintained.
3.1.0-preview1.19508.20 817 10/15/2019 3.1.0-preview1.19508.20 is deprecated because it is no longer maintained.
3.0.3 10,771 2/18/2020 3.0.3 is deprecated because it is no longer maintained.
3.0.2 15,013 1/14/2020 3.0.2 is deprecated because it is no longer maintained.
3.0.0 707,816 9/23/2019 3.0.0 is deprecated because it is no longer maintained.
3.0.0-rc1.19457.4 2,271 9/16/2019 3.0.0-rc1.19457.4 is deprecated because it is no longer maintained.
3.0.0-preview9.19424.4 1,512 9/4/2019 3.0.0-preview9.19424.4 is deprecated because it is no longer maintained.
3.0.0-preview8.19405.7 1,822 8/13/2019 3.0.0-preview8.19405.7 is deprecated because it is no longer maintained.
3.0.0-preview7.19365.7 2,451 7/23/2019 3.0.0-preview7.19365.7 is deprecated because it is no longer maintained.
3.0.0-preview6.19307.2 1,830 6/12/2019 3.0.0-preview6.19307.2 is deprecated because it is no longer maintained.
3.0.0-preview5-19227-01 2,554 5/6/2019 3.0.0-preview5-19227-01 is deprecated because it is no longer maintained.
3.0.0-preview4-19216-03 1,986 4/18/2019 3.0.0-preview4-19216-03 is deprecated because it is no longer maintained.
3.0.0-preview3-19153-02 2,122 3/6/2019 3.0.0-preview3-19153-02 is deprecated because it is no longer maintained.
3.0.0-preview-19075-0444 2,586 1/29/2019 3.0.0-preview-19075-0444 is deprecated because it is no longer maintained.
3.0.0-preview-18579-0056 2,312 12/3/2018 3.0.0-preview-18579-0056 is deprecated because it is no longer maintained.
2.3.0 200 1/14/2025
2.2.0 13,681,691 12/3/2018 2.2.0 is deprecated because it is no longer maintained.
2.2.0-preview3-35497 63,415 10/17/2018 2.2.0-preview3-35497 is deprecated because it is no longer maintained.
2.2.0-preview2-35157 6,320 9/12/2018 2.2.0-preview2-35157 is deprecated because it is no longer maintained.
2.2.0-preview1-35029 3,697 8/22/2018 2.2.0-preview1-35029 is deprecated because it is no longer maintained.
2.1.2 13,367,038 8/21/2018
2.1.1 10,633,544 6/18/2018
2.1.0 3,444,638 5/29/2018
2.1.0-rc1-final 19,729 5/6/2018 2.1.0-rc1-final is deprecated because it is no longer maintained.
2.1.0-preview2-final 20,221 4/10/2018 2.1.0-preview2-final is deprecated because it is no longer maintained.
2.1.0-preview1-final 27,924 2/26/2018 2.1.0-preview1-final is deprecated because it is no longer maintained.
2.0.4 3,740,601 5/7/2018 2.0.4 is deprecated because it is no longer maintained.
2.0.3 3,673,119 3/13/2018 2.0.3 is deprecated because it is no longer maintained.
2.0.1 5,230,299 11/14/2017 2.0.1 is deprecated because it is no longer maintained.
2.0.0 6,373,620 8/11/2017 2.0.0 is deprecated because it is no longer maintained.
2.0.0-preview2-final 55,813 6/27/2017 2.0.0-preview2-final is deprecated because it is no longer maintained.
2.0.0-preview1-final 22,803 5/10/2017 2.0.0-preview1-final is deprecated because it is no longer maintained.
1.1.3 11,115 9/20/2017 1.1.3 is deprecated because it is no longer maintained.
1.1.2 85,458 5/9/2017 1.1.2 is deprecated because it is no longer maintained.
1.1.1 99,318 3/6/2017 1.1.1 is deprecated because it is no longer maintained.
1.1.0 107,961 11/16/2016 1.1.0 is deprecated because it is no longer maintained.
1.1.0-preview1-final 4,314 10/24/2016 1.1.0-preview1-final is deprecated because it is no longer maintained.
1.0.5 4,774 11/14/2017 1.0.5 is deprecated because it is no longer maintained.
1.0.4 3,417 9/20/2017 1.0.4 is deprecated because it is no longer maintained.
1.0.3 5,587 5/9/2017 1.0.3 is deprecated because it is no longer maintained.
1.0.2 13,499 3/6/2017 1.0.2 is deprecated because it is no longer maintained.
1.0.1 6,713 12/12/2016 1.0.1 is deprecated because it is no longer maintained.
1.0.0 141,874 6/27/2016 1.0.0 is deprecated because it is no longer maintained.
1.0.0-rc2-final 6,072 5/16/2016 1.0.0-rc2-final is deprecated because it is no longer maintained.