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

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.3.25172.1
                    
NuGet\Install-Package Microsoft.AspNetCore.Authentication.Facebook -Version 10.0.0-preview.3.25172.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.3.25172.1" />
                    
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.0-preview.3.25172.1" />
                    
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.0-preview.3.25172.1
                    
#r "nuget: Microsoft.AspNetCore.Authentication.Facebook, 10.0.0-preview.3.25172.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.
#addin nuget:?package=Microsoft.AspNetCore.Authentication.Facebook&version=10.0.0-preview.3.25172.1&prerelease
                    
Install Microsoft.AspNetCore.Authentication.Facebook as a Cake Addin
#tool nuget:?package=Microsoft.AspNetCore.Authentication.Facebook&version=10.0.0-preview.3.25172.1&prerelease
                    
Install Microsoft.AspNetCore.Authentication.Facebook 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 (85)

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 20 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
simplcommerce/SimplCommerce
A simple, cross platform, modulith ecommerce system built on .NET
phongnguyend/Practical.CleanArchitecture
Full-stack .Net 9 Clean Architecture (Microservices, Modular Monolith, Monolith), Blazor, Angular 19, React 19, Vue 3.5, BFF with YARP, NextJs 15, Domain-Driven Design, CQRS, SOLID, Asp.Net Core Identity Custom Storage, OpenID Connect, EF Core, OpenTelemetry, SignalR, Background Services, Health Checks, Rate Limiting, Clouds (Azure, AWS, GCP), ..
aspnet/Identity
[Archived] ASP.NET Core Identity is the membership system for building ASP.NET Core web applications, including membership, login, and user data. Project moved to https://github.com/aspnet/AspNetCore
enkodellc/blazorboilerplate
Blazor Boilerplate / Starter Template with MudBlazor
grandnode/grandnode
Open source, headless, multi-tenant eCommerce platform built with .NET Core, MongoDB, AWS DocumentDB, Azure CosmosDB, Vue.js.
ivaylokenov/MyTested.AspNetCore.Mvc
Fluent testing library for ASP.NET Core MVC.
xamarin/Essentials
Xamarin.Essentials is no longer supported. Migrate your apps to .NET MAUI, which includes Maui.Essentials.
fullstackproltd/AspNetCoreSpa
Asp.Net 7.0 & Angular 15 SPA Fullstack application with plenty of examples. Live demo:
cloudscribe/cloudscribe
ASP.NET Core multi-tenant web application foundation with management for sites, users, roles, claims and more
smartstore/Smartstore
A modular, scalable and ultra-fast open-source all-in-one eCommerce platform built on ASP.NET Core 7
grandnode/grandnode2
E-commerce platform built with ASP.NET Core using MongoDB for NoSQL storage
neozhu/CleanArchitectureWithBlazorServer
This is a repository for creating a Blazor Server dashboard application following the principles of Clean Architecture
simpleidserver/SimpleIdServer
OpenID, OAuth 2.0, SCIM2.0, UMA2.0, FAPI, CIBA & OPENBANKING Framework for ASP.NET Core
Aguafrommars/TheIdServer
OpenID/Connect, OAuth2, WS-Federation and SAML 2.0 server based on Duende IdentityServer and ITFoxtec Identity SAML 2.0 with its admin UI
T0shik/aspnetcore3-authentication
YAFNET/YAFNET
🌐 YAF.NET - C# ASP.NET Forum
Version Downloads Last updated
10.0.0-preview.4.25258.110 248 5/12/2025
10.0.0-preview.3.25172.1 240 4/10/2025
10.0.0-preview.2.25164.1 365 3/18/2025
10.0.0-preview.1.25120.3 406 2/25/2025
9.0.5 6,572 5/13/2025
9.0.4 29,688 4/8/2025
9.0.3 31,517 3/11/2025
9.0.2 30,646 2/11/2025
9.0.1 40,192 1/14/2025
9.0.0 66,404 11/12/2024
9.0.0-rc.2.24474.3 3,273 10/8/2024
9.0.0-rc.1.24452.1 2,809 9/10/2024
9.0.0-preview.7.24406.2 636 8/13/2024
9.0.0-preview.6.24328.4 93,635 7/9/2024
9.0.0-preview.5.24306.11 290 6/11/2024
9.0.0-preview.4.24267.6 285 5/21/2024
9.0.0-preview.3.24172.13 772 4/11/2024
9.0.0-preview.2.24128.4 519 3/12/2024
9.0.0-preview.1.24081.5 1,741 2/13/2024
8.0.16 1,261 5/13/2025
8.0.15 9,366 4/8/2025
8.0.14 10,377 3/11/2025
8.0.13 10,358 2/11/2025
8.0.12 17,468 1/14/2025
8.0.11 80,519 11/12/2024
8.0.10 95,355 10/8/2024
8.0.8 151,848 8/13/2024
8.0.7 84,523 7/9/2024
8.0.6 92,349 5/28/2024
8.0.5 37,369 5/14/2024
8.0.4 122,631 4/9/2024
8.0.3 65,990 3/12/2024
8.0.2 66,102 2/13/2024
8.0.1 99,745 1/9/2024
8.0.0 337,005 11/14/2023
8.0.0-rc.2.23480.2 6,173 10/10/2023
8.0.0-rc.1.23421.29 1,110 9/12/2023
8.0.0-preview.7.23375.9 989 8/8/2023
8.0.0-preview.6.23329.11 753 7/11/2023
8.0.0-preview.5.23302.2 866 6/13/2023
8.0.0-preview.4.23260.4 250,920 5/16/2023
8.0.0-preview.3.23177.8 1,464 4/11/2023
8.0.0-preview.2.23153.2 90,994 3/14/2023
8.0.0-preview.1.23112.2 595 2/21/2023
7.0.20 15,204 5/28/2024
7.0.19 1,890 5/14/2024
7.0.18 1,557 4/9/2024
7.0.17 6,174 3/12/2024
7.0.16 3,879 2/13/2024
7.0.15 8,697 1/9/2024
7.0.14 18,182 11/14/2023
7.0.13 73,210 10/24/2023
7.0.12 35,106 10/10/2023
7.0.11 40,093 9/12/2023
7.0.10 85,377 8/8/2023
7.0.9 62,631 7/11/2023
7.0.8 36,583 6/22/2023
7.0.7 21,527 6/13/2023
7.0.5 178,779 4/11/2023
7.0.4 66,626 3/14/2023
7.0.3 59,018 2/14/2023
7.0.2 80,995 1/10/2023
7.0.1 102,166 12/13/2022
7.0.0 84,595 11/7/2022
7.0.0-rc.2.22476.2 1,223 10/11/2022
7.0.0-rc.1.22427.2 66,740 9/14/2022
7.0.0-preview.7.22376.6 812 8/9/2022
7.0.0-preview.6.22330.3 513 7/12/2022
7.0.0-preview.5.22303.8 818 6/14/2022
7.0.0-preview.4.22251.1 797 5/10/2022
7.0.0-preview.3.22178.4 679 4/13/2022
7.0.0-preview.2.22153.2 460 3/14/2022
7.0.0-preview.1.22109.13 461 2/17/2022
6.0.36 8,265 11/12/2024
6.0.35 11,045 10/8/2024
6.0.33 4,503 8/13/2024
6.0.32 4,025 7/9/2024
6.0.31 6,333 5/28/2024
6.0.30 1,986 5/14/2024
6.0.29 4,874 4/9/2024
6.0.28 12,311 3/12/2024
6.0.27 10,768 2/13/2024
6.0.26 12,951 1/9/2024
6.0.25 43,591 11/14/2023
6.0.24 13,474 10/24/2023
6.0.23 10,768 10/10/2023
6.0.22 19,266 9/12/2023
6.0.21 52,050 8/8/2023
6.0.20 18,033 7/11/2023
6.0.19 12,663 6/22/2023
6.0.18 6,900 6/13/2023
6.0.16 94,962 4/11/2023
6.0.15 41,737 3/14/2023
6.0.14 39,675 2/14/2023
6.0.13 56,435 1/10/2023
6.0.12 54,617 12/13/2022
6.0.11 82,189 11/7/2022
6.0.10 204,362 10/11/2022
6.0.9 85,087 9/13/2022
6.0.8 164,301 8/9/2022
6.0.7 226,062 7/12/2022
6.0.6 133,790 6/14/2022
6.0.5 1,012,147 5/10/2022
6.0.4 161,135 4/11/2022
6.0.3 113,275 3/8/2022
6.0.2 102,253 2/8/2022
6.0.1 820,583 12/14/2021
6.0.0 392,005 11/8/2021
6.0.0-rc.2.21480.10 2,653 10/12/2021
6.0.0-rc.1.21452.15 9,271 9/14/2021
6.0.0-preview.7.21378.6 1,522 8/10/2021
6.0.0-preview.6.21355.2 861 7/14/2021
6.0.0-preview.5.21301.17 842 6/15/2021
6.0.0-preview.4.21253.5 751 5/24/2021
6.0.0-preview.3.21201.13 672 4/8/2021
6.0.0-preview.2.21154.6 649 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,781 2/12/2021 6.0.0-preview.1.21103.6 is deprecated because it is no longer maintained.
5.0.17 34,509 5/10/2022 5.0.17 is deprecated because it is no longer maintained.
5.0.16 12,276 4/11/2022 5.0.16 is deprecated because it is no longer maintained.
5.0.15 11,158 3/8/2022 5.0.15 is deprecated because it is no longer maintained.
5.0.14 12,784 2/8/2022 5.0.14 is deprecated because it is no longer maintained.
5.0.13 40,973 12/14/2021 5.0.13 is deprecated because it is no longer maintained.
5.0.12 28,759 11/7/2021 5.0.12 is deprecated because it is no longer maintained.
5.0.11 81,673 10/12/2021 5.0.11 is deprecated because it is no longer maintained.
5.0.10 85,130 9/14/2021 5.0.10 is deprecated because it is no longer maintained.
5.0.9 68,110 8/10/2021 5.0.9 is deprecated because it is no longer maintained.
5.0.8 113,923 7/13/2021 5.0.8 is deprecated because it is no longer maintained.
5.0.7 129,040 6/8/2021 5.0.7 is deprecated because it is no longer maintained.
5.0.6 67,052 5/11/2021 5.0.6 is deprecated because it is no longer maintained.
5.0.5 111,234 4/6/2021 5.0.5 is deprecated because it is no longer maintained.
5.0.4 98,850 3/9/2021 5.0.4 is deprecated because it is no longer maintained.
5.0.3 226,774 2/9/2021 5.0.3 is deprecated because it is no longer maintained.
5.0.2 53,747 1/12/2021 5.0.2 is deprecated because it is no longer maintained.
5.0.1 90,863 12/8/2020 5.0.1 is deprecated because it is no longer maintained.
5.0.0 401,601 11/9/2020 5.0.0 is deprecated because it is no longer maintained.
5.0.0-rc.2.20475.17 1,643 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,688 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 777 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,120 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,671 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 636 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 781 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 716 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 750 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 724 3/16/2020 5.0.0-preview.1.20124.5 is deprecated because it is no longer maintained.
3.1.32 14,863 12/13/2022
3.1.31 4,563 11/8/2022
3.1.30 9,726 10/11/2022
3.1.29 2,990 9/13/2022
3.1.28 8,100 8/9/2022
3.1.27 6,018 7/12/2022
3.1.26 8,871 6/14/2022
3.1.25 11,099 5/10/2022
3.1.24 3,725 4/11/2022
3.1.23 12,466 3/8/2022
3.1.22 34,957 12/14/2021
3.1.21 21,834 11/7/2021
3.1.20 20,021 10/11/2021
3.1.19 18,258 9/14/2021
3.1.18 76,599 8/10/2021
3.1.17 42,003 7/13/2021
3.1.16 27,499 6/8/2021
3.1.15 17,828 5/11/2021
3.1.14 36,264 4/6/2021
3.1.13 75,072 3/9/2021
3.1.12 44,733 2/9/2021
3.1.11 122,946 1/12/2021
3.1.10 216,464 11/9/2020
3.1.9 186,034 10/13/2020
3.1.8 175,412 9/8/2020
3.1.7 73,714 8/11/2020
3.1.6 102,973 7/14/2020
3.1.5 238,328 6/9/2020
3.1.4 250,105 5/12/2020
3.1.3 222,921 3/24/2020
3.1.2 194,781 2/18/2020
3.1.1 135,796 1/14/2020
3.1.0 147,936 12/3/2019
3.1.0-preview3.19555.2 741 11/13/2019 3.1.0-preview3.19555.2 is deprecated because it is no longer maintained.
3.1.0-preview2.19528.8 679 11/1/2019 3.1.0-preview2.19528.8 is deprecated because it is no longer maintained.
3.1.0-preview1.19508.20 858 10/15/2019 3.1.0-preview1.19508.20 is deprecated because it is no longer maintained.
3.0.3 10,974 2/18/2020 3.0.3 is deprecated because it is no longer maintained.
3.0.2 15,701 1/14/2020 3.0.2 is deprecated because it is no longer maintained.
3.0.0 715,782 9/23/2019 3.0.0 is deprecated because it is no longer maintained.
3.0.0-rc1.19457.4 2,309 9/16/2019 3.0.0-rc1.19457.4 is deprecated because it is no longer maintained.
3.0.0-preview9.19424.4 1,551 9/4/2019 3.0.0-preview9.19424.4 is deprecated because it is no longer maintained.
3.0.0-preview8.19405.7 1,861 8/13/2019 3.0.0-preview8.19405.7 is deprecated because it is no longer maintained.
3.0.0-preview7.19365.7 2,498 7/23/2019 3.0.0-preview7.19365.7 is deprecated because it is no longer maintained.
3.0.0-preview6.19307.2 1,869 6/12/2019 3.0.0-preview6.19307.2 is deprecated because it is no longer maintained.
3.0.0-preview5-19227-01 2,599 5/6/2019 3.0.0-preview5-19227-01 is deprecated because it is no longer maintained.
3.0.0-preview4-19216-03 2,027 4/18/2019 3.0.0-preview4-19216-03 is deprecated because it is no longer maintained.
3.0.0-preview3-19153-02 2,162 3/6/2019 3.0.0-preview3-19153-02 is deprecated because it is no longer maintained.
3.0.0-preview-19075-0444 2,626 1/29/2019 3.0.0-preview-19075-0444 is deprecated because it is no longer maintained.
3.0.0-preview-18579-0056 2,353 12/3/2018 3.0.0-preview-18579-0056 is deprecated because it is no longer maintained.
2.3.0 282 1/14/2025
2.2.0 13,844,553 12/3/2018 2.2.0 is deprecated because it is no longer maintained.
2.2.0-preview3-35497 63,569 10/17/2018 2.2.0-preview3-35497 is deprecated because it is no longer maintained.
2.2.0-preview2-35157 6,396 9/12/2018 2.2.0-preview2-35157 is deprecated because it is no longer maintained.
2.2.0-preview1-35029 3,775 8/22/2018 2.2.0-preview1-35029 is deprecated because it is no longer maintained.
2.1.2 13,416,850 8/21/2018
2.1.1 10,951,364 6/18/2018
2.1.0 3,454,945 5/29/2018
2.1.0-rc1-final 19,816 5/6/2018 2.1.0-rc1-final is deprecated because it is no longer maintained.
2.1.0-preview2-final 20,311 4/10/2018 2.1.0-preview2-final is deprecated because it is no longer maintained.
2.1.0-preview1-final 28,042 2/26/2018 2.1.0-preview1-final is deprecated because it is no longer maintained.
2.0.4 3,775,739 5/7/2018 2.0.4 is deprecated because it is no longer maintained.
2.0.3 3,697,228 3/13/2018 2.0.3 is deprecated because it is no longer maintained.
2.0.1 5,275,322 11/14/2017 2.0.1 is deprecated because it is no longer maintained.
2.0.0 6,412,091 8/11/2017 2.0.0 is deprecated because it is no longer maintained.
2.0.0-preview2-final 56,124 6/27/2017 2.0.0-preview2-final is deprecated because it is no longer maintained.
2.0.0-preview1-final 22,885 5/10/2017 2.0.0-preview1-final is deprecated because it is no longer maintained.
1.1.3 11,265 9/20/2017 1.1.3 is deprecated because it is no longer maintained.
1.1.2 85,787 5/9/2017 1.1.2 is deprecated because it is no longer maintained.
1.1.1 99,588 3/6/2017 1.1.1 is deprecated because it is no longer maintained.
1.1.0 108,070 11/16/2016 1.1.0 is deprecated because it is no longer maintained.
1.1.0-preview1-final 4,377 10/24/2016 1.1.0-preview1-final is deprecated because it is no longer maintained.
1.0.5 4,846 11/14/2017 1.0.5 is deprecated because it is no longer maintained.
1.0.4 3,485 9/20/2017 1.0.4 is deprecated because it is no longer maintained.
1.0.3 5,658 5/9/2017 1.0.3 is deprecated because it is no longer maintained.
1.0.2 13,576 3/6/2017 1.0.2 is deprecated because it is no longer maintained.
1.0.1 6,796 12/12/2016 1.0.1 is deprecated because it is no longer maintained.
1.0.0 143,582 6/27/2016 1.0.0 is deprecated because it is no longer maintained.
1.0.0-rc2-final 6,136 5/16/2016 1.0.0-rc2-final is deprecated because it is no longer maintained.