Microsoft.AspNetCore.Authentication.Facebook 10.0.0

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.

Showing the top 20 packages that depend on Microsoft.AspNetCore.Authentication.Facebook.

Packages Downloads
Microsoft.AspNetCore.All
Microsoft.AspNetCore.All
50
Microsoft.AspNetCore.All
Microsoft.AspNetCore.All
52
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.
50
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.
51
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.
52
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.
63
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.
50
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.
57
Ocelot
Ocelot
50
Ocelot
Ocelot Api Gateway
50
Ocelot
Ocelot Api Gateway
51
Ocelot
Ocelot Api Gateway
52
Ocelot
Ocelot Api Gateway
54

.NET 10.0

  • No dependencies.

Version Downloads Last updated
10.0.0 29 11/13/2025
10.0.0-rc.2.25502.107 19 10/17/2025
10.0.0-rc.1.25451.107 20 09/11/2025
10.0.0-preview.7.25380.108 22 08/13/2025
10.0.0-preview.6.25358.103 24 07/17/2025
10.0.0-preview.5.25277.114 31 06/08/2025
10.0.0-preview.4.25258.110 32 05/17/2025
10.0.0-preview.3.25172.1 27 04/13/2025
10.0.0-preview.2.25164.1 36 03/22/2025
10.0.0-preview.1.25120.3 33 02/27/2025
9.0.11 14 11/13/2025
9.0.10 17 10/17/2025
9.0.9 24 09/15/2025
9.0.8 23 08/08/2025
9.0.7 22 07/12/2025
9.0.6 30 06/14/2025
9.0.5 27 05/18/2025
9.0.4 36 04/09/2025
9.0.3 36 03/12/2025
9.0.2 33 02/27/2025
9.0.1 43 02/01/2025
9.0.0 40 11/14/2024
9.0.0-rc.2.24474.3 39 11/13/2024
9.0.0-rc.1.24452.1 34 12/05/2024
9.0.0-preview.7.24406.2 39 11/14/2024
9.0.0-preview.6.24328.4 35 12/09/2024
9.0.0-preview.5.24306.11 36 12/12/2024
9.0.0-preview.4.24267.6 41 06/03/2024
9.0.0-preview.3.24172.13 37 06/03/2024
9.0.0-preview.2.24128.4 39 05/06/2024
9.0.0-preview.1.24081.5 45 06/03/2024
8.0.22 17 11/13/2025
8.0.21 25 10/17/2025
8.0.20 18 09/11/2025
8.0.19 22 08/08/2025
8.0.18 21 07/12/2025
8.0.17 26 06/14/2025
8.0.16 33 05/18/2025
8.0.15 34 04/09/2025
8.0.14 32 03/17/2025
8.0.13 38 02/27/2025
8.0.12 36 02/01/2025
8.0.11 41 11/14/2024
8.0.10 34 12/07/2024
8.0.8 37 11/14/2024
8.0.7 39 11/14/2024
8.0.6 44 12/04/2024
8.0.5 39 06/03/2024
8.0.4 52 06/03/2024
8.0.3 42 05/10/2024
8.0.2 46 05/14/2024
8.0.1 49 06/03/2024
8.0.0 37 06/03/2024
8.0.0-rc.2.23480.2 37 06/03/2024
8.0.0-rc.1.23421.29 36 06/03/2024
8.0.0-preview.7.23375.9 34 06/03/2024
8.0.0-preview.6.23329.11 36 06/03/2024
8.0.0-preview.5.23302.2 35 06/03/2024
8.0.0-preview.4.23260.4 38 05/10/2024
8.0.0-preview.3.23177.8 45 11/14/2024
8.0.0-preview.2.23153.2 35 06/03/2024
8.0.0-preview.1.23112.2 42 06/03/2024
7.0.20 30 12/05/2024
7.0.19 36 06/03/2024
7.0.18 39 06/03/2024
7.0.17 43 05/10/2024
7.0.16 51 05/10/2024
7.0.15 38 06/03/2024
7.0.14 37 06/03/2024
7.0.13 54 05/10/2024
7.0.12 45 05/13/2024
7.0.11 41 05/10/2024
7.0.10 42 06/03/2024
7.0.9 55 05/15/2024
7.0.8 38 06/03/2024
7.0.7 38 06/03/2024
7.0.5 41 06/03/2024
7.0.4 39 06/03/2024
7.0.3 40 06/03/2024
7.0.2 44 06/03/2024
7.0.1 43 05/29/2024
7.0.0 40 05/14/2024
7.0.0-rc.2.22476.2 38 06/03/2024
7.0.0-rc.1.22427.2 37 06/03/2024
7.0.0-preview.7.22376.6 39 05/10/2024
7.0.0-preview.6.22330.3 33 06/03/2024
7.0.0-preview.5.22303.8 41 05/10/2024
7.0.0-preview.4.22251.1 37 05/10/2024
7.0.0-preview.3.22178.4 32 06/03/2024
7.0.0-preview.2.22153.2 36 06/03/2024
7.0.0-preview.1.22109.13 35 06/03/2024
6.0.36 39 12/17/2024
6.0.35 54 11/14/2024
6.0.33 45 11/14/2024
6.0.32 34 12/15/2024
6.0.31 42 11/14/2024
6.0.30 50 06/03/2024
6.0.29 46 05/20/2024
6.0.28 42 06/03/2024
6.0.27 49 05/17/2024
6.0.26 42 05/10/2024
6.0.25 40 06/03/2024
6.0.24 39 05/10/2024
6.0.23 49 06/03/2024
6.0.22 43 06/03/2024
6.0.21 37 05/17/2024
6.0.20 38 06/03/2024
6.0.19 37 06/03/2024
6.0.18 38 06/03/2024
6.0.16 39 05/10/2024
6.0.15 43 06/03/2024
6.0.14 42 06/03/2024
6.0.13 44 05/10/2024
6.0.12 38 05/14/2024
6.0.11 58 05/10/2024
6.0.10 45 05/15/2024
6.0.9 40 06/03/2024
6.0.8 40 06/03/2024
6.0.7 43 06/03/2024
6.0.6 39 06/03/2024
6.0.5 42 06/03/2024
6.0.4 43 06/03/2024
6.0.3 44 06/03/2024
6.0.2 43 06/03/2024
6.0.1 46 05/10/2024
6.0.0 38 06/03/2024
6.0.0-rc.2.21480.10 38 06/03/2024
6.0.0-rc.1.21452.15 37 06/03/2024
6.0.0-preview.7.21378.6 40 06/03/2024
6.0.0-preview.6.21355.2 35 06/03/2024
6.0.0-preview.5.21301.17 35 05/17/2024
6.0.0-preview.4.21253.5 33 12/13/2024
6.0.0-preview.3.21201.13 39 06/03/2024
6.0.0-preview.2.21154.6 35 06/03/2024
6.0.0-preview.1.21103.6 43 05/17/2024
5.0.17 48 05/18/2024
5.0.16 48 05/10/2024
5.0.15 46 05/20/2024
5.0.14 42 06/03/2024
5.0.13 47 05/14/2024
5.0.12 41 05/16/2024
5.0.11 43 05/10/2024
5.0.10 42 05/10/2024
5.0.9 39 06/03/2024
5.0.8 34 06/03/2024
5.0.7 41 05/15/2024
5.0.6 45 05/10/2024
5.0.5 41 05/10/2024
5.0.4 42 05/10/2024
5.0.3 46 06/03/2024
5.0.2 36 06/03/2024
5.0.1 43 06/03/2024
5.0.0 40 05/14/2024
5.0.0-rc.2.20475.17 34 06/03/2024
5.0.0-rc.1.20451.17 41 06/03/2024
5.0.0-preview.8.20414.8 32 05/14/2024
5.0.0-preview.7.20365.19 36 06/03/2024
5.0.0-preview.6.20312.15 51 05/15/2024
5.0.0-preview.5.20279.2 33 12/04/2024
5.0.0-preview.4.20257.10 34 06/03/2024
5.0.0-preview.3.20215.14 38 06/03/2024
5.0.0-preview.2.20167.3 35 05/17/2024
5.0.0-preview.1.20124.5 39 06/03/2024
3.1.32 46 05/13/2024
3.1.31 43 05/20/2024
3.1.30 39 06/03/2024
3.1.29 44 06/03/2024
3.1.28 42 05/20/2024
3.1.27 44 06/03/2024
3.1.26 49 06/03/2024
3.1.25 45 06/03/2024
3.1.24 47 06/03/2024
3.1.23 42 06/03/2024
3.1.22 46 06/03/2024
3.1.21 54 06/03/2024
3.1.20 41 06/03/2024
3.1.19 36 06/03/2024
3.1.18 48 06/03/2024
3.1.17 43 05/19/2024
3.1.16 46 05/10/2024
3.1.15 45 06/03/2024
3.1.14 43 06/03/2024
3.1.13 40 06/03/2024
3.1.12 44 06/03/2024
3.1.11 41 06/03/2024
3.1.10 41 06/03/2024
3.1.9 52 05/16/2024
3.1.8 40 05/29/2024
3.1.7 45 05/18/2024
3.1.6 41 05/13/2024
3.1.5 40 06/03/2024
3.1.4 39 05/15/2024
3.1.3 45 05/18/2024
3.1.2 40 05/19/2024
3.1.1 41 06/03/2024
3.1.0 38 06/03/2024
3.1.0-preview3.19555.2 41 05/10/2024
3.1.0-preview2.19528.8 29 06/03/2024
3.1.0-preview1.19508.20 38 06/03/2024
3.0.3 42 06/03/2024
3.0.2 34 06/03/2024
3.0.0 37 05/17/2024
3.0.0-rc1.19457.4 36 06/03/2024
3.0.0-preview9.19424.4 35 06/03/2024
3.0.0-preview8.19405.7 27 12/13/2024
3.0.0-preview7.19365.7 40 05/17/2024
3.0.0-preview6.19307.2 32 06/03/2024
3.0.0-preview5-19227-01 39 05/29/2024
3.0.0-preview4-19216-03 42 06/03/2024
3.0.0-preview3-19153-02 44 06/03/2024
3.0.0-preview-19075-0444 38 06/03/2024
3.0.0-preview-18579-0056 36 06/03/2024
2.3.0 31 01/26/2025
2.2.0 38 08/17/2023
2.2.0-preview3-35497 41 06/03/2024
2.2.0-preview2-35157 38 06/03/2024
2.2.0-preview1-35029 39 06/03/2024
2.1.2 38 06/03/2024
2.1.1 45 06/03/2024
2.1.0 49 06/03/2024
2.1.0-rc1-final 37 05/10/2024
2.1.0-preview2-final 35 06/03/2024
2.1.0-preview1-final 43 05/17/2024
2.0.4 38 06/03/2024
2.0.3 46 05/29/2024
2.0.1 40 06/03/2024
2.0.0 43 06/03/2024
2.0.0-preview2-final 41 06/03/2024
2.0.0-preview1-final 45 06/03/2024
1.1.3 45 05/25/2024
1.1.2 41 06/03/2024
1.1.1 37 06/03/2024
1.1.0 40 06/03/2024
1.1.0-preview1-final 41 06/03/2024
1.0.5 36 06/03/2024
1.0.4 35 05/19/2024
1.0.3 43 05/16/2024
1.0.2 46 06/03/2024
1.0.1 61 06/03/2024
1.0.0 39 06/03/2024
1.0.0-rc2-final 39 06/03/2024