Microsoft.AspNetCore.Authentication.Facebook
10.0.0-preview.1.25120.3
Prefix Reserved
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
<PackageReference Include="Microsoft.AspNetCore.Authentication.Facebook" Version="10.0.0-preview.1.25120.3" />
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"
// 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
- Refer to the guide in the official documentation here to create the app in Facebook.
- Follow the steps in the official documentation here to store the Facebook app ID and secret.
- 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 authenticationFacebookHandler
: 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 | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net10.0 is compatible. |
-
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 |
|
FenixAlliance.ACL.Dependencies
Application Component for the Alliance Business Suite. |
|
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. |
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.1.25120.3 | 118 | 2/25/2025 | |
9.0.2 | 11,646 | 2/11/2025 | |
9.0.1 | 22,128 | 1/14/2025 | |
9.0.0 | 42,577 | 11/12/2024 | |
9.0.0-rc.2.24474.3 | 3,254 | 10/8/2024 | |
9.0.0-rc.1.24452.1 | 2,778 | 9/10/2024 | |
9.0.0-preview.7.24406.2 | 567 | 8/13/2024 | |
9.0.0-preview.6.24328.4 | 53,263 | 7/9/2024 | |
9.0.0-preview.5.24306.11 | 268 | 6/11/2024 | |
9.0.0-preview.4.24267.6 | 265 | 5/21/2024 | |
9.0.0-preview.3.24172.13 | 756 | 4/11/2024 | |
9.0.0-preview.2.24128.4 | 490 | 3/12/2024 | |
9.0.0-preview.1.24081.5 | 1,715 | 2/13/2024 | |
8.0.13 | 3,989 | 2/11/2025 | |
8.0.12 | 10,195 | 1/14/2025 | |
8.0.11 | 53,079 | 11/12/2024 | |
8.0.10 | 75,594 | 10/8/2024 | |
8.0.8 | 127,551 | 8/13/2024 | |
8.0.7 | 71,939 | 7/9/2024 | |
8.0.6 | 87,380 | 5/28/2024 | |
8.0.5 | 33,851 | 5/14/2024 | |
8.0.4 | 109,097 | 4/9/2024 | |
8.0.3 | 60,248 | 3/12/2024 | |
8.0.2 | 61,802 | 2/13/2024 | |
8.0.1 | 90,359 | 1/9/2024 | |
8.0.0 | 271,955 | 11/14/2023 | |
8.0.0-rc.2.23480.2 | 5,807 | 10/10/2023 | |
8.0.0-rc.1.23421.29 | 1,093 | 9/12/2023 | |
8.0.0-preview.7.23375.9 | 967 | 8/8/2023 | |
8.0.0-preview.6.23329.11 | 732 | 7/11/2023 | |
8.0.0-preview.5.23302.2 | 841 | 6/13/2023 | |
8.0.0-preview.4.23260.4 | 207,464 | 5/16/2023 | |
8.0.0-preview.3.23177.8 | 1,407 | 4/11/2023 | |
8.0.0-preview.2.23153.2 | 90,492 | 3/14/2023 | |
8.0.0-preview.1.23112.2 | 558 | 2/21/2023 | |
7.0.20 | 11,441 | 5/28/2024 | |
7.0.19 | 1,666 | 5/14/2024 | |
7.0.18 | 1,486 | 4/9/2024 | |
7.0.17 | 5,949 | 3/12/2024 | |
7.0.16 | 3,829 | 2/13/2024 | |
7.0.15 | 8,529 | 1/9/2024 | |
7.0.14 | 17,737 | 11/14/2023 | |
7.0.13 | 64,099 | 10/24/2023 | |
7.0.12 | 33,829 | 10/10/2023 | |
7.0.11 | 39,768 | 9/12/2023 | |
7.0.10 | 81,556 | 8/8/2023 | |
7.0.9 | 61,324 | 7/11/2023 | |
7.0.8 | 35,620 | 6/22/2023 | |
7.0.7 | 20,703 | 6/13/2023 | |
7.0.5 | 164,968 | 4/11/2023 | |
7.0.4 | 65,862 | 3/14/2023 | |
7.0.3 | 57,321 | 2/14/2023 | |
7.0.2 | 79,598 | 1/10/2023 | |
7.0.1 | 99,250 | 12/13/2022 | |
7.0.0 | 80,041 | 11/7/2022 | |
7.0.0-rc.2.22476.2 | 1,198 | 10/11/2022 | |
7.0.0-rc.1.22427.2 | 66,709 | 9/14/2022 | |
7.0.0-preview.7.22376.6 | 784 | 8/9/2022 | |
7.0.0-preview.6.22330.3 | 489 | 7/12/2022 | |
7.0.0-preview.5.22303.8 | 792 | 6/14/2022 | |
7.0.0-preview.4.22251.1 | 765 | 5/10/2022 | |
7.0.0-preview.3.22178.4 | 649 | 4/13/2022 | |
7.0.0-preview.2.22153.2 | 426 | 3/14/2022 | |
7.0.0-preview.1.22109.13 | 428 | 2/17/2022 | |
6.0.36 | 1,994 | 11/12/2024 | |
6.0.35 | 7,934 | 10/8/2024 | |
6.0.33 | 3,964 | 8/13/2024 | |
6.0.32 | 3,604 | 7/9/2024 | |
6.0.31 | 5,654 | 5/28/2024 | |
6.0.30 | 1,857 | 5/14/2024 | |
6.0.29 | 4,513 | 4/9/2024 | |
6.0.28 | 11,320 | 3/12/2024 | |
6.0.27 | 9,912 | 2/13/2024 | |
6.0.26 | 12,342 | 1/9/2024 | |
6.0.25 | 37,027 | 11/14/2023 | |
6.0.24 | 12,735 | 10/24/2023 | |
6.0.23 | 10,631 | 10/10/2023 | |
6.0.22 | 18,711 | 9/12/2023 | |
6.0.21 | 50,249 | 8/8/2023 | |
6.0.20 | 17,603 | 7/11/2023 | |
6.0.19 | 12,389 | 6/22/2023 | |
6.0.18 | 6,802 | 6/13/2023 | |
6.0.16 | 92,456 | 4/11/2023 | |
6.0.15 | 40,967 | 3/14/2023 | |
6.0.14 | 38,856 | 2/14/2023 | |
6.0.13 | 55,191 | 1/10/2023 | |
6.0.12 | 53,271 | 12/13/2022 | |
6.0.11 | 81,293 | 11/7/2022 | |
6.0.10 | 199,823 | 10/11/2022 | |
6.0.9 | 83,647 | 9/13/2022 | |
6.0.8 | 161,320 | 8/9/2022 | |
6.0.7 | 220,847 | 7/12/2022 | |
6.0.6 | 132,057 | 6/14/2022 | |
6.0.5 | 972,613 | 5/10/2022 | |
6.0.4 | 153,538 | 4/11/2022 | |
6.0.3 | 111,855 | 3/8/2022 | |
6.0.2 | 99,571 | 2/8/2022 | |
6.0.1 | 801,101 | 12/14/2021 | |
6.0.0 | 378,106 | 11/8/2021 | |
6.0.0-rc.2.21480.10 | 2,616 | 10/12/2021 | |
6.0.0-rc.1.21452.15 | 9,212 | 9/14/2021 | |
6.0.0-preview.7.21378.6 | 1,487 | 8/10/2021 | |
6.0.0-preview.6.21355.2 | 823 | 7/14/2021 | |
6.0.0-preview.5.21301.17 | 808 | 6/15/2021 | |
6.0.0-preview.4.21253.5 | 717 | 5/24/2021 | |
6.0.0-preview.3.21201.13 | 634 | 4/8/2021 | |
6.0.0-preview.2.21154.6 | 596 | 3/11/2021 | |
6.0.0-preview.1.21103.6 | 1,723 | 2/12/2021 | |
5.0.17 | 33,944 | 5/10/2022 | |
5.0.16 | 12,221 | 4/11/2022 | |
5.0.15 | 11,051 | 3/8/2022 | |
5.0.14 | 12,412 | 2/8/2022 | |
5.0.13 | 40,055 | 12/14/2021 | |
5.0.12 | 28,360 | 11/7/2021 | |
5.0.11 | 80,586 | 10/12/2021 | |
5.0.10 | 84,618 | 9/14/2021 | |
5.0.9 | 67,315 | 8/10/2021 | |
5.0.8 | 113,467 | 7/13/2021 | |
5.0.7 | 128,011 | 6/8/2021 | |
5.0.6 | 66,906 | 5/11/2021 | |
5.0.5 | 110,852 | 4/6/2021 | |
5.0.4 | 98,356 | 3/9/2021 | |
5.0.3 | 225,675 | 2/9/2021 | |
5.0.2 | 53,593 | 1/12/2021 | |
5.0.1 | 90,407 | 12/8/2020 | |
5.0.0 | 398,223 | 11/9/2020 | |
5.0.0-rc.2.20475.17 | 1,585 | 10/13/2020 | |
5.0.0-rc.1.20451.17 | 2,627 | 9/14/2020 | |
5.0.0-preview.8.20414.8 | 721 | 8/25/2020 | |
5.0.0-preview.7.20365.19 | 1,063 | 7/21/2020 | |
5.0.0-preview.6.20312.15 | 1,610 | 6/25/2020 | |
5.0.0-preview.5.20279.2 | 580 | 6/10/2020 | |
5.0.0-preview.4.20257.10 | 724 | 5/18/2020 | |
5.0.0-preview.3.20215.14 | 658 | 4/23/2020 | |
5.0.0-preview.2.20167.3 | 694 | 4/2/2020 | |
5.0.0-preview.1.20124.5 | 663 | 3/16/2020 | |
3.1.32 | 12,129 | 12/13/2022 | |
3.1.31 | 4,462 | 11/8/2022 | |
3.1.30 | 9,277 | 10/11/2022 | |
3.1.29 | 2,939 | 9/13/2022 | |
3.1.28 | 7,758 | 8/9/2022 | |
3.1.27 | 5,941 | 7/12/2022 | |
3.1.26 | 8,323 | 6/14/2022 | |
3.1.25 | 10,756 | 5/10/2022 | |
3.1.24 | 3,684 | 4/11/2022 | |
3.1.23 | 11,509 | 3/8/2022 | |
3.1.22 | 33,404 | 12/14/2021 | |
3.1.21 | 21,746 | 11/7/2021 | |
3.1.20 | 19,822 | 10/11/2021 | |
3.1.19 | 17,859 | 9/14/2021 | |
3.1.18 | 76,229 | 8/10/2021 | |
3.1.17 | 41,426 | 7/13/2021 | |
3.1.16 | 26,865 | 6/8/2021 | |
3.1.15 | 17,663 | 5/11/2021 | |
3.1.14 | 35,800 | 4/6/2021 | |
3.1.13 | 74,602 | 3/9/2021 | |
3.1.12 | 44,489 | 2/9/2021 | |
3.1.11 | 118,843 | 1/12/2021 | |
3.1.10 | 214,762 | 11/9/2020 | |
3.1.9 | 185,451 | 10/13/2020 | |
3.1.8 | 174,311 | 9/8/2020 | |
3.1.7 | 73,265 | 8/11/2020 | |
3.1.6 | 101,970 | 7/14/2020 | |
3.1.5 | 233,593 | 6/9/2020 | |
3.1.4 | 248,017 | 5/12/2020 | |
3.1.3 | 221,796 | 3/24/2020 | |
3.1.2 | 188,187 | 2/18/2020 | |
3.1.1 | 135,146 | 1/14/2020 | |
3.1.0 | 146,054 | 12/3/2019 | |
3.1.0-preview3.19555.2 | 681 | 11/13/2019 | |
3.1.0-preview2.19528.8 | 623 | 11/1/2019 | |
3.1.0-preview1.19508.20 | 793 | 10/15/2019 | |
3.0.3 | 10,683 | 2/18/2020 | |
3.0.2 | 14,886 | 1/14/2020 | |
3.0.0 | 705,647 | 9/23/2019 | |
3.0.0-rc1.19457.4 | 2,252 | 9/16/2019 | |
3.0.0-preview9.19424.4 | 1,492 | 9/4/2019 | |
3.0.0-preview8.19405.7 | 1,802 | 8/13/2019 | |
3.0.0-preview7.19365.7 | 2,433 | 7/23/2019 | |
3.0.0-preview6.19307.2 | 1,813 | 6/12/2019 | |
3.0.0-preview5-19227-01 | 2,533 | 5/6/2019 | |
3.0.0-preview4-19216-03 | 1,965 | 4/18/2019 | |
3.0.0-preview3-19153-02 | 2,100 | 3/6/2019 | |
3.0.0-preview-19075-0444 | 2,563 | 1/29/2019 | |
3.0.0-preview-18579-0056 | 2,290 | 12/3/2018 | |
2.3.0 | 183 | 1/14/2025 | |
2.2.0 | 13,630,386 | 12/3/2018 | |
2.2.0-preview3-35497 | 63,344 | 10/17/2018 | |
2.2.0-preview2-35157 | 6,288 | 9/12/2018 | |
2.2.0-preview1-35029 | 3,666 | 8/22/2018 | |
2.1.2 | 13,351,164 | 8/21/2018 | |
2.1.1 | 10,543,791 | 6/18/2018 | |
2.1.0 | 3,441,308 | 5/29/2018 | |
2.1.0-rc1-final | 19,694 | 5/6/2018 | |
2.1.0-preview2-final | 20,151 | 4/10/2018 | |
2.1.0-preview1-final | 27,856 | 2/26/2018 | |
2.0.4 | 3,730,068 | 5/7/2018 | |
2.0.3 | 3,665,031 | 3/13/2018 | |
2.0.1 | 5,217,296 | 11/14/2017 | |
2.0.0 | 6,362,516 | 8/11/2017 | |
2.0.0-preview2-final | 55,696 | 6/27/2017 | |
2.0.0-preview1-final | 22,772 | 5/10/2017 | |
1.1.3 | 11,073 | 9/20/2017 | |
1.1.2 | 85,386 | 5/9/2017 | |
1.1.1 | 99,219 | 3/6/2017 | |
1.1.0 | 107,920 | 11/16/2016 | |
1.1.0-preview1-final | 4,282 | 10/24/2016 | |
1.0.5 | 4,741 | 11/14/2017 | |
1.0.4 | 3,383 | 9/20/2017 | |
1.0.3 | 5,555 | 5/9/2017 | |
1.0.2 | 13,462 | 3/6/2017 | |
1.0.1 | 6,679 | 12/12/2016 | |
1.0.0 | 141,109 | 6/27/2016 | |
1.0.0-rc2-final | 6,034 | 5/16/2016 |