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 158 3/18/2025
10.0.0-preview.1.25120.3 232 2/25/2025
9.0.3 10,459 3/11/2025
9.0.2 23,293 2/11/2025
9.0.1 25,674 1/14/2025
9.0.0 49,977 11/12/2024
9.0.0-rc.2.24474.3 3,263 10/8/2024
9.0.0-rc.1.24452.1 2,790 9/10/2024
9.0.0-preview.7.24406.2 577 8/13/2024
9.0.0-preview.6.24328.4 64,418 7/9/2024
9.0.0-preview.5.24306.11 279 6/11/2024
9.0.0-preview.4.24267.6 275 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,947 3/11/2025
8.0.13 7,964 2/11/2025
8.0.12 12,521 1/14/2025
8.0.11 61,502 11/12/2024
8.0.10 81,875 10/8/2024
8.0.8 135,415 8/13/2024
8.0.7 76,129 7/9/2024
8.0.6 89,262 5/28/2024
8.0.5 34,872 5/14/2024
8.0.4 113,147 4/9/2024
8.0.3 62,346 3/12/2024
8.0.2 63,238 2/13/2024
8.0.1 93,051 1/9/2024
8.0.0 291,729 11/14/2023
8.0.0-rc.2.23480.2 5,841 10/10/2023
8.0.0-rc.1.23421.29 1,099 9/12/2023
8.0.0-preview.7.23375.9 975 8/8/2023
8.0.0-preview.6.23329.11 738 7/11/2023
8.0.0-preview.5.23302.2 851 6/13/2023
8.0.0-preview.4.23260.4 218,497 5/16/2023
8.0.0-preview.3.23177.8 1,418 4/11/2023
8.0.0-preview.2.23153.2 90,636 3/14/2023
8.0.0-preview.1.23112.2 571 2/21/2023
7.0.20 12,357 5/28/2024
7.0.19 1,738 5/14/2024
7.0.18 1,506 4/9/2024
7.0.17 6,019 3/12/2024
7.0.16 3,839 2/13/2024
7.0.15 8,565 1/9/2024
7.0.14 17,850 11/14/2023
7.0.13 67,396 10/24/2023
7.0.12 34,264 10/10/2023
7.0.11 39,940 9/12/2023
7.0.10 83,005 8/8/2023
7.0.9 61,717 7/11/2023
7.0.8 35,874 6/22/2023
7.0.7 20,949 6/13/2023
7.0.5 170,248 4/11/2023
7.0.4 66,102 3/14/2023
7.0.3 57,832 2/14/2023
7.0.2 80,036 1/10/2023
7.0.1 100,024 12/13/2022
7.0.0 81,110 11/7/2022
7.0.0-rc.2.22476.2 1,208 10/11/2022
7.0.0-rc.1.22427.2 66,725 9/14/2022
7.0.0-preview.7.22376.6 795 8/9/2022
7.0.0-preview.6.22330.3 497 7/12/2022
7.0.0-preview.5.22303.8 802 6/14/2022
7.0.0-preview.4.22251.1 779 5/10/2022
7.0.0-preview.3.22178.4 661 4/13/2022
7.0.0-preview.2.22153.2 440 3/14/2022
7.0.0-preview.1.22109.13 442 2/17/2022
6.0.36 3,098 11/12/2024
6.0.35 9,194 10/8/2024
6.0.33 4,103 8/13/2024
6.0.32 3,690 7/9/2024
6.0.31 5,795 5/28/2024
6.0.30 1,927 5/14/2024
6.0.29 4,694 4/9/2024
6.0.28 11,600 3/12/2024
6.0.27 10,263 2/13/2024
6.0.26 12,518 1/9/2024
6.0.25 38,957 11/14/2023
6.0.24 12,856 10/24/2023
6.0.23 10,667 10/10/2023
6.0.22 18,891 9/12/2023
6.0.21 50,773 8/8/2023
6.0.20 17,749 7/11/2023
6.0.19 12,480 6/22/2023
6.0.18 6,838 6/13/2023
6.0.16 93,226 4/11/2023
6.0.15 41,223 3/14/2023
6.0.14 39,122 2/14/2023
6.0.13 55,638 1/10/2023
6.0.12 53,656 12/13/2022
6.0.11 81,600 11/7/2022
6.0.10 201,331 10/11/2022
6.0.9 84,090 9/13/2022
6.0.8 162,193 8/9/2022
6.0.7 222,692 7/12/2022
6.0.6 132,722 6/14/2022
6.0.5 986,109 5/10/2022
6.0.4 156,072 4/11/2022
6.0.3 112,350 3/8/2022
6.0.2 100,277 2/8/2022
6.0.1 809,727 12/14/2021
6.0.0 382,211 11/8/2021
6.0.0-rc.2.21480.10 2,631 10/12/2021
6.0.0-rc.1.21452.15 9,236 9/14/2021
6.0.0-preview.7.21378.6 1,500 8/10/2021
6.0.0-preview.6.21355.2 839 7/14/2021
6.0.0-preview.5.21301.17 821 6/15/2021
6.0.0-preview.4.21253.5 730 5/24/2021
6.0.0-preview.3.21201.13 648 4/8/2021
6.0.0-preview.2.21154.6 617 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,746 2/12/2021 6.0.0-preview.1.21103.6 is deprecated because it is no longer maintained.
5.0.17 34,094 5/10/2022 5.0.17 is deprecated because it is no longer maintained.
5.0.16 12,238 4/11/2022 5.0.16 is deprecated because it is no longer maintained.
5.0.15 11,086 3/8/2022 5.0.15 is deprecated because it is no longer maintained.
5.0.14 12,504 2/8/2022 5.0.14 is deprecated because it is no longer maintained.
5.0.13 40,319 12/14/2021 5.0.13 is deprecated because it is no longer maintained.
5.0.12 28,410 11/7/2021 5.0.12 is deprecated because it is no longer maintained.
5.0.11 80,832 10/12/2021 5.0.11 is deprecated because it is no longer maintained.
5.0.10 84,740 9/14/2021 5.0.10 is deprecated because it is no longer maintained.
5.0.9 67,539 8/10/2021 5.0.9 is deprecated because it is no longer maintained.
5.0.8 113,602 7/13/2021 5.0.8 is deprecated because it is no longer maintained.
5.0.7 128,224 6/8/2021 5.0.7 is deprecated because it is no longer maintained.
5.0.6 66,957 5/11/2021 5.0.6 is deprecated because it is no longer maintained.
5.0.5 111,037 4/6/2021 5.0.5 is deprecated because it is no longer maintained.
5.0.4 98,505 3/9/2021 5.0.4 is deprecated because it is no longer maintained.
5.0.3 226,054 2/9/2021 5.0.3 is deprecated because it is no longer maintained.
5.0.2 53,625 1/12/2021 5.0.2 is deprecated because it is no longer maintained.
5.0.1 90,563 12/8/2020 5.0.1 is deprecated because it is no longer maintained.
5.0.0 399,151 11/9/2020 5.0.0 is deprecated because it is no longer maintained.
5.0.0-rc.2.20475.17 1,607 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,650 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 741 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,086 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,634 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 602 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 745 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 680 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 715 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 689 3/16/2020 5.0.0-preview.1.20124.5 is deprecated because it is no longer maintained.
3.1.32 12,533 12/13/2022
3.1.31 4,502 11/8/2022
3.1.30 9,435 10/11/2022
3.1.29 2,950 9/13/2022
3.1.28 7,888 8/9/2022
3.1.27 5,962 7/12/2022
3.1.26 8,558 6/14/2022
3.1.25 10,805 5/10/2022
3.1.24 3,699 4/11/2022
3.1.23 11,850 3/8/2022
3.1.22 34,074 12/14/2021
3.1.21 21,769 11/7/2021
3.1.20 19,883 10/11/2021
3.1.19 17,961 9/14/2021
3.1.18 76,388 8/10/2021
3.1.17 41,589 7/13/2021
3.1.16 26,966 6/8/2021
3.1.15 17,722 5/11/2021
3.1.14 35,998 4/6/2021
3.1.13 74,739 3/9/2021
3.1.12 44,561 2/9/2021
3.1.11 120,182 1/12/2021
3.1.10 215,383 11/9/2020
3.1.9 185,622 10/13/2020
3.1.8 174,666 9/8/2020
3.1.7 73,415 8/11/2020
3.1.6 102,307 7/14/2020
3.1.5 234,968 6/9/2020
3.1.4 248,557 5/12/2020
3.1.3 222,125 3/24/2020
3.1.2 190,238 2/18/2020
3.1.1 135,338 1/14/2020
3.1.0 146,707 12/3/2019
3.1.0-preview3.19555.2 704 11/13/2019 3.1.0-preview3.19555.2 is deprecated because it is no longer maintained.
3.1.0-preview2.19528.8 643 11/1/2019 3.1.0-preview2.19528.8 is deprecated because it is no longer maintained.
3.1.0-preview1.19508.20 821 10/15/2019 3.1.0-preview1.19508.20 is deprecated because it is no longer maintained.
3.0.3 10,778 2/18/2020 3.0.3 is deprecated because it is no longer maintained.
3.0.2 15,020 1/14/2020 3.0.2 is deprecated because it is no longer maintained.
3.0.0 708,243 9/23/2019 3.0.0 is deprecated because it is no longer maintained.
3.0.0-rc1.19457.4 2,274 9/16/2019 3.0.0-rc1.19457.4 is deprecated because it is no longer maintained.
3.0.0-preview9.19424.4 1,515 9/4/2019 3.0.0-preview9.19424.4 is deprecated because it is no longer maintained.
3.0.0-preview8.19405.7 1,826 8/13/2019 3.0.0-preview8.19405.7 is deprecated because it is no longer maintained.
3.0.0-preview7.19365.7 2,456 7/23/2019 3.0.0-preview7.19365.7 is deprecated because it is no longer maintained.
3.0.0-preview6.19307.2 1,833 6/12/2019 3.0.0-preview6.19307.2 is deprecated because it is no longer maintained.
3.0.0-preview5-19227-01 2,558 5/6/2019 3.0.0-preview5-19227-01 is deprecated because it is no longer maintained.
3.0.0-preview4-19216-03 1,990 4/18/2019 3.0.0-preview4-19216-03 is deprecated because it is no longer maintained.
3.0.0-preview3-19153-02 2,126 3/6/2019 3.0.0-preview3-19153-02 is deprecated because it is no longer maintained.
3.0.0-preview-19075-0444 2,590 1/29/2019 3.0.0-preview-19075-0444 is deprecated because it is no longer maintained.
3.0.0-preview-18579-0056 2,316 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,697,171 12/3/2018 2.2.0 is deprecated because it is no longer maintained.
2.2.0-preview3-35497 63,422 10/17/2018 2.2.0-preview3-35497 is deprecated because it is no longer maintained.
2.2.0-preview2-35157 6,325 9/12/2018 2.2.0-preview2-35157 is deprecated because it is no longer maintained.
2.2.0-preview1-35029 3,704 8/22/2018 2.2.0-preview1-35029 is deprecated because it is no longer maintained.
2.1.2 13,371,387 8/21/2018
2.1.1 10,657,318 6/18/2018
2.1.0 3,445,447 5/29/2018
2.1.0-rc1-final 19,735 5/6/2018 2.1.0-rc1-final is deprecated because it is no longer maintained.
2.1.0-preview2-final 20,229 4/10/2018 2.1.0-preview2-final is deprecated because it is no longer maintained.
2.1.0-preview1-final 27,932 2/26/2018 2.1.0-preview1-final is deprecated because it is no longer maintained.
2.0.4 3,743,513 5/7/2018 2.0.4 is deprecated because it is no longer maintained.
2.0.3 3,675,359 3/13/2018 2.0.3 is deprecated because it is no longer maintained.
2.0.1 5,233,773 11/14/2017 2.0.1 is deprecated because it is no longer maintained.
2.0.0 6,376,534 8/11/2017 2.0.0 is deprecated because it is no longer maintained.
2.0.0-preview2-final 55,836 6/27/2017 2.0.0-preview2-final is deprecated because it is no longer maintained.
2.0.0-preview1-final 22,810 5/10/2017 2.0.0-preview1-final is deprecated because it is no longer maintained.
1.1.3 11,124 9/20/2017 1.1.3 is deprecated because it is no longer maintained.
1.1.2 85,464 5/9/2017 1.1.2 is deprecated because it is no longer maintained.
1.1.1 99,337 3/6/2017 1.1.1 is deprecated because it is no longer maintained.
1.1.0 107,972 11/16/2016 1.1.0 is deprecated because it is no longer maintained.
1.1.0-preview1-final 4,319 10/24/2016 1.1.0-preview1-final is deprecated because it is no longer maintained.
1.0.5 4,780 11/14/2017 1.0.5 is deprecated because it is no longer maintained.
1.0.4 3,422 9/20/2017 1.0.4 is deprecated because it is no longer maintained.
1.0.3 5,592 5/9/2017 1.0.3 is deprecated because it is no longer maintained.
1.0.2 13,505 3/6/2017 1.0.2 is deprecated because it is no longer maintained.
1.0.1 6,718 12/12/2016 1.0.1 is deprecated because it is no longer maintained.
1.0.0 141,971 6/27/2016 1.0.0 is deprecated because it is no longer maintained.
1.0.0-rc2-final 6,077 5/16/2016 1.0.0-rc2-final is deprecated because it is no longer maintained.