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

Prefix Reserved
This is a prerelease version of Microsoft.AspNetCore.Authentication.Facebook.
dotnet add package Microsoft.AspNetCore.Authentication.Facebook --version 10.0.0-preview.2.25164.1                
NuGet\Install-Package Microsoft.AspNetCore.Authentication.Facebook -Version 10.0.0-preview.2.25164.1                
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.2.25164.1" />                
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.2.25164.1                
#r "nuget: Microsoft.AspNetCore.Authentication.Facebook, 10.0.0-preview.2.25164.1"                
#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.2.25164.1&prerelease

// Install Microsoft.AspNetCore.Authentication.Facebook as a Cake Tool
#tool nuget:?package=Microsoft.AspNetCore.Authentication.Facebook&version=10.0.0-preview.2.25164.1&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 84 3/18/2025
10.0.0-preview.1.25120.3 232 2/25/2025
9.0.3 7,424 3/11/2025
9.0.2 22,449 2/11/2025
9.0.1 25,070 1/14/2025
9.0.0 48,908 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 577 8/13/2024
9.0.0-preview.6.24328.4 62,339 7/9/2024
9.0.0-preview.5.24306.11 279 6/11/2024
9.0.0-preview.4.24267.6 274 5/21/2024
9.0.0-preview.3.24172.13 761 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,250 3/11/2025
8.0.13 7,713 2/11/2025
8.0.12 12,240 1/14/2025
8.0.11 60,139 11/12/2024
8.0.10 81,075 10/8/2024
8.0.8 134,328 8/13/2024
8.0.7 75,527 7/9/2024
8.0.6 89,025 5/28/2024
8.0.5 34,781 5/14/2024
8.0.4 112,499 4/9/2024
8.0.3 62,048 3/12/2024
8.0.2 63,054 2/13/2024
8.0.1 92,667 1/9/2024
8.0.0 288,812 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 737 7/11/2023
8.0.0-preview.5.23302.2 849 6/13/2023
8.0.0-preview.4.23260.4 216,421 5/16/2023
8.0.0-preview.3.23177.8 1,418 4/11/2023
8.0.0-preview.2.23153.2 90,610 3/14/2023
8.0.0-preview.1.23112.2 570 2/21/2023
7.0.20 12,228 5/28/2024
7.0.19 1,723 5/14/2024
7.0.18 1,502 4/9/2024
7.0.17 6,008 3/12/2024
7.0.16 3,837 2/13/2024
7.0.15 8,554 1/9/2024
7.0.14 17,830 11/14/2023
7.0.13 66,923 10/24/2023
7.0.12 34,211 10/10/2023
7.0.11 39,922 9/12/2023
7.0.10 82,776 8/8/2023
7.0.9 61,672 7/11/2023
7.0.8 35,831 6/22/2023
7.0.7 20,910 6/13/2023
7.0.5 169,449 4/11/2023
7.0.4 66,071 3/14/2023
7.0.3 57,775 2/14/2023
7.0.2 79,970 1/10/2023
7.0.1 99,912 12/13/2022
7.0.0 80,948 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 777 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,885 11/12/2024
6.0.35 9,015 10/8/2024
6.0.33 4,094 8/13/2024
6.0.32 3,673 7/9/2024
6.0.31 5,773 5/28/2024
6.0.30 1,924 5/14/2024
6.0.29 4,657 4/9/2024
6.0.28 11,561 3/12/2024
6.0.27 10,203 2/13/2024
6.0.26 12,503 1/9/2024
6.0.25 38,672 11/14/2023
6.0.24 12,831 10/24/2023
6.0.23 10,662 10/10/2023
6.0.22 18,856 9/12/2023
6.0.21 50,684 8/8/2023
6.0.20 17,720 7/11/2023
6.0.19 12,475 6/22/2023
6.0.18 6,834 6/13/2023
6.0.16 93,122 4/11/2023
6.0.15 41,206 3/14/2023
6.0.14 39,082 2/14/2023
6.0.13 55,585 1/10/2023
6.0.12 53,587 12/13/2022
6.0.11 81,560 11/7/2022
6.0.10 201,105 10/11/2022
6.0.9 84,038 9/13/2022
6.0.8 162,071 8/9/2022
6.0.7 222,502 7/12/2022
6.0.6 132,660 6/14/2022
6.0.5 984,460 5/10/2022
6.0.4 155,712 4/11/2022
6.0.3 112,285 3/8/2022
6.0.2 100,195 2/8/2022
6.0.1 808,312 12/14/2021
6.0.0 381,669 11/8/2021
6.0.0-rc.2.21480.10 2,629 10/12/2021
6.0.0-rc.1.21452.15 9,234 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,742 2/12/2021 6.0.0-preview.1.21103.6 is deprecated because it is no longer maintained.
5.0.17 34,078 5/10/2022 5.0.17 is deprecated because it is no longer maintained.
5.0.16 12,237 4/11/2022 5.0.16 is deprecated because it is no longer maintained.
5.0.15 11,081 3/8/2022 5.0.15 is deprecated because it is no longer maintained.
5.0.14 12,503 2/8/2022 5.0.14 is deprecated because it is no longer maintained.
5.0.13 40,299 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,804 10/12/2021 5.0.11 is deprecated because it is no longer maintained.
5.0.10 84,725 9/14/2021 5.0.10 is deprecated because it is no longer maintained.
5.0.9 67,512 8/10/2021 5.0.9 is deprecated because it is no longer maintained.
5.0.8 113,591 7/13/2021 5.0.8 is deprecated because it is no longer maintained.
5.0.7 128,182 6/8/2021 5.0.7 is deprecated because it is no longer maintained.
5.0.6 66,949 5/11/2021 5.0.6 is deprecated because it is no longer maintained.
5.0.5 110,999 4/6/2021 5.0.5 is deprecated because it is no longer maintained.
5.0.4 98,467 3/9/2021 5.0.4 is deprecated because it is no longer maintained.
5.0.3 226,016 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,545 12/8/2020 5.0.1 is deprecated because it is no longer maintained.
5.0.0 398,968 11/9/2020 5.0.0 is deprecated because it is no longer maintained.
5.0.0-rc.2.20475.17 1,604 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,083 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 686 3/16/2020 5.0.0-preview.1.20124.5 is deprecated because it is no longer maintained.
3.1.32 12,446 12/13/2022
3.1.31 4,499 11/8/2022
3.1.30 9,402 10/11/2022
3.1.29 2,949 9/13/2022
3.1.28 7,879 8/9/2022
3.1.27 5,959 7/12/2022
3.1.26 8,539 6/14/2022
3.1.25 10,798 5/10/2022
3.1.24 3,698 4/11/2022
3.1.23 11,787 3/8/2022
3.1.22 33,969 12/14/2021
3.1.21 21,767 11/7/2021
3.1.20 19,880 10/11/2021
3.1.19 17,950 9/14/2021
3.1.18 76,356 8/10/2021
3.1.17 41,560 7/13/2021
3.1.16 26,958 6/8/2021
3.1.15 17,717 5/11/2021
3.1.14 35,972 4/6/2021
3.1.13 74,699 3/9/2021
3.1.12 44,553 2/9/2021
3.1.11 120,026 1/12/2021
3.1.10 215,293 11/9/2020
3.1.9 185,594 10/13/2020
3.1.8 174,614 9/8/2020
3.1.7 73,402 8/11/2020
3.1.6 102,256 7/14/2020
3.1.5 234,796 6/9/2020
3.1.4 248,478 5/12/2020
3.1.3 222,079 3/24/2020
3.1.2 190,011 2/18/2020
3.1.1 135,308 1/14/2020
3.1.0 146,607 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 818 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,937 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,823 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,555 5/6/2019 3.0.0-preview5-19227-01 is deprecated because it is no longer maintained.
3.0.0-preview4-19216-03 1,987 4/18/2019 3.0.0-preview4-19216-03 is deprecated because it is no longer maintained.
3.0.0-preview3-19153-02 2,123 3/6/2019 3.0.0-preview3-19153-02 is deprecated because it is no longer maintained.
3.0.0-preview-19075-0444 2,587 1/29/2019 3.0.0-preview-19075-0444 is deprecated because it is no longer maintained.
3.0.0-preview-18579-0056 2,313 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,685,343 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,698 8/22/2018 2.2.0-preview1-35029 is deprecated because it is no longer maintained.
2.1.2 13,367,928 8/21/2018
2.1.1 10,639,566 6/18/2018
2.1.0 3,444,931 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,222 4/10/2018 2.1.0-preview2-final is deprecated because it is no longer maintained.
2.1.0-preview1-final 27,925 2/26/2018 2.1.0-preview1-final is deprecated because it is no longer maintained.
2.0.4 3,741,293 5/7/2018 2.0.4 is deprecated because it is no longer maintained.
2.0.3 3,673,672 3/13/2018 2.0.3 is deprecated because it is no longer maintained.
2.0.1 5,231,059 11/14/2017 2.0.1 is deprecated because it is no longer maintained.
2.0.0 6,374,421 8/11/2017 2.0.0 is deprecated because it is no longer maintained.
2.0.0-preview2-final 55,815 6/27/2017 2.0.0-preview2-final is deprecated because it is no longer maintained.
2.0.0-preview1-final 22,804 5/10/2017 2.0.0-preview1-final is deprecated because it is no longer maintained.
1.1.3 11,117 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,320 3/6/2017 1.1.1 is deprecated because it is no longer maintained.
1.1.0 107,962 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,500 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,907 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.