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

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
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.
47
Microsoft.AspNetCore.All
Microsoft.AspNetCore.All
44
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.
43
Microsoft.AspNetCore.All
Microsoft.AspNetCore.All
42
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.
42
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.
41
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.
40
Microsoft.AspNetCore.All
Microsoft.AspNetCore.All
39
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.
39
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. This package was built from the source at: https://github.com/aspnet/Universe/tree/244e037a222a7cd0a17feafb7f3a625fde40de97
39
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.
37
Microsoft.AspNetCore.All
Microsoft.AspNetCore.All
37

.NET 10.0

  • No dependencies.

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