Microsoft.AspNetCore.Authentication.Facebook 11.0.0-preview.3.26207.106

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
116
Microsoft.AspNetCore.All
Microsoft.AspNetCore.All
120
Microsoft.AspNetCore.All
Microsoft.AspNetCore.All
122
Microsoft.AspNetCore.All
Microsoft.AspNetCore.All
124
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.
115
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.
116
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.
117
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.
119
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.
121
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.
123
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.
125
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.
126
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.
128
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.
131
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.
133
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/1016eae4004686f7fdad13f5c329f63bbae1f3a1
124

.NET 11.0

  • No dependencies.

Version Downloads Last updated
11.0.0-preview.3.26207.106 2 04/14/2026
11.0.0-preview.2.26159.112 11 03/12/2026
11.0.0-preview.1.26104.118 16 02/12/2026
10.0.6 2 04/14/2026
10.0.5 10 03/13/2026
10.0.4 9 03/12/2026
10.0.3 16 02/12/2026
10.0.2 18 01/14/2026
10.0.1 42 12/11/2025
10.0.0 70 11/16/2025
10.0.0-rc.2.25502.107 80 10/15/2025
10.0.0-rc.1.25451.107 84 09/09/2025
10.0.0-preview.7.25380.108 65 08/13/2025
10.0.0-preview.6.25358.103 71 07/16/2025
10.0.0-preview.5.25277.114 86 06/08/2025
10.0.0-preview.4.25258.110 69 05/13/2025
10.0.0-preview.3.25172.1 90 04/11/2025
10.0.0-preview.2.25164.1 83 03/31/2025
10.0.0-preview.1.25120.3 112 04/01/2025
9.0.15 2 04/14/2026
9.0.14 9 03/12/2026
9.0.13 17 02/12/2026
9.0.12 16 01/14/2026
9.0.11 49 11/16/2025
9.0.10 52 10/15/2025
9.0.9 70 09/09/2025
9.0.8 71 08/06/2025
9.0.7 75 07/09/2025
9.0.6 78 06/12/2025
9.0.5 78 05/14/2025
9.0.4 90 04/11/2025
9.0.3 91 03/29/2025
9.0.2 84 03/29/2025
9.0.1 107 03/29/2025
9.0.0 107 11/14/2024
9.0.0-rc.2.24474.3 90 10/17/2024
9.0.0-rc.1.24452.1 103 09/19/2024
9.0.0-preview.7.24406.2 103 08/20/2024
9.0.0-preview.6.24328.4 107 07/21/2024
9.0.0-preview.5.24306.11 110 07/21/2024
9.0.0-preview.4.24267.6 107 07/21/2024
9.0.0-preview.3.24172.13 98 07/21/2024
9.0.0-preview.2.24128.4 116 07/21/2024
9.0.0-preview.1.24081.5 129 07/21/2024
8.0.26 2 04/14/2026
8.0.25 8 03/12/2026
8.0.24 24 02/12/2026
8.0.23 16 01/14/2026
8.0.22 60 11/16/2025
8.0.21 53 10/15/2025
8.0.20 58 09/09/2025
8.0.19 79 08/06/2025
8.0.18 82 07/09/2025
8.0.17 92 06/12/2025
8.0.16 86 05/14/2025
8.0.15 86 04/11/2025
8.0.14 95 03/29/2025
8.0.13 99 03/29/2025
8.0.12 90 03/29/2025
8.0.11 100 11/14/2024
8.0.10 97 10/17/2024
8.0.8 99 08/20/2024
8.0.7 111 07/21/2024
8.0.6 117 07/21/2024
8.0.5 104 07/21/2024
8.0.4 110 07/21/2024
8.0.3 116 07/21/2024
8.0.2 131 07/21/2024
8.0.1 110 07/21/2024
8.0.0 114 07/21/2024
8.0.0-rc.2.23480.2 136 07/21/2024
8.0.0-rc.1.23421.29 114 07/21/2024
8.0.0-preview.7.23375.9 127 07/21/2024
8.0.0-preview.6.23329.11 111 07/21/2024
8.0.0-preview.5.23302.2 119 07/21/2024
8.0.0-preview.4.23260.4 112 07/21/2024
8.0.0-preview.3.23177.8 120 07/21/2024
8.0.0-preview.2.23153.2 119 07/21/2024
8.0.0-preview.1.23112.2 132 07/21/2024
7.0.20 112 07/21/2024
7.0.19 112 07/21/2024
7.0.18 121 07/21/2024
7.0.17 116 07/21/2024
7.0.16 138 07/21/2024
7.0.15 119 07/21/2024
7.0.14 118 07/21/2024
7.0.13 118 07/21/2024
7.0.12 106 07/21/2024
7.0.11 113 07/21/2024
7.0.10 119 07/21/2024
7.0.9 113 07/21/2024
7.0.8 126 07/21/2024
7.0.7 112 07/21/2024
7.0.5 112 07/21/2024
7.0.4 105 07/21/2024
7.0.3 134 07/21/2024
7.0.2 118 07/21/2024
7.0.1 117 07/21/2024
7.0.0 120 07/21/2024
7.0.0-rc.2.22476.2 102 07/21/2024
7.0.0-rc.1.22427.2 105 07/21/2024
7.0.0-preview.7.22376.6 122 07/21/2024
7.0.0-preview.6.22330.3 99 07/21/2024
7.0.0-preview.5.22303.8 121 07/21/2024
7.0.0-preview.4.22251.1 125 07/21/2024
7.0.0-preview.3.22178.4 123 07/21/2024
7.0.0-preview.2.22153.2 112 07/21/2024
7.0.0-preview.1.22109.13 123 07/21/2024
6.0.36 104 11/14/2024
6.0.35 91 10/17/2024
6.0.33 111 08/20/2024
6.0.32 111 07/21/2024
6.0.31 128 07/21/2024
6.0.30 106 07/21/2024
6.0.29 117 07/21/2024
6.0.28 112 07/21/2024
6.0.27 134 07/21/2024
6.0.26 119 07/21/2024
6.0.25 138 07/21/2024
6.0.24 115 07/21/2024
6.0.23 115 07/21/2024
6.0.22 126 07/21/2024
6.0.21 118 07/21/2024
6.0.20 120 07/21/2024
6.0.19 116 07/21/2024
6.0.18 122 07/21/2024
6.0.16 120 07/21/2024
6.0.15 134 07/21/2024
6.0.14 123 07/21/2024
6.0.13 93 07/21/2024
6.0.12 115 07/21/2024
6.0.11 123 07/21/2024
6.0.10 118 07/21/2024
6.0.9 111 07/21/2024
6.0.8 112 07/21/2024
6.0.7 103 07/21/2024
6.0.6 113 07/21/2024
6.0.5 114 07/21/2024
6.0.4 113 07/21/2024
6.0.3 121 07/21/2024
6.0.2 114 07/21/2024
6.0.1 113 07/21/2024
6.0.0 113 07/21/2024
6.0.0-rc.2.21480.10 121 07/21/2024
6.0.0-rc.1.21452.15 117 07/21/2024
6.0.0-preview.7.21378.6 106 07/21/2024
6.0.0-preview.6.21355.2 119 07/21/2024
6.0.0-preview.5.21301.17 102 07/21/2024
6.0.0-preview.4.21253.5 110 07/21/2024
6.0.0-preview.3.21201.13 120 07/21/2024
6.0.0-preview.2.21154.6 112 07/21/2024
6.0.0-preview.1.21103.6 103 07/21/2024
5.0.17 118 07/21/2024
5.0.16 120 07/21/2024
5.0.15 120 07/21/2024
5.0.14 110 07/21/2024
5.0.13 109 07/21/2024
5.0.12 112 07/21/2024
5.0.11 107 07/21/2024
5.0.10 122 07/21/2024
5.0.9 109 07/21/2024
5.0.8 121 07/21/2024
5.0.7 117 07/21/2024
5.0.6 102 07/21/2024
5.0.5 116 07/21/2024
5.0.4 124 07/21/2024
5.0.3 116 07/21/2024
5.0.2 117 07/21/2024
5.0.1 112 07/21/2024
5.0.0 121 07/21/2024
5.0.0-rc.2.20475.17 113 07/21/2024
5.0.0-rc.1.20451.17 120 07/21/2024
5.0.0-preview.8.20414.8 122 07/21/2024
5.0.0-preview.7.20365.19 114 07/21/2024
5.0.0-preview.6.20312.15 124 07/21/2024
5.0.0-preview.5.20279.2 101 07/21/2024
5.0.0-preview.4.20257.10 116 07/21/2024
5.0.0-preview.3.20215.14 139 07/21/2024
5.0.0-preview.2.20167.3 108 07/21/2024
5.0.0-preview.1.20124.5 111 07/21/2024
3.1.32 103 07/21/2024
3.1.31 128 07/21/2024
3.1.30 112 07/21/2024
3.1.29 123 07/21/2024
3.1.28 121 07/21/2024
3.1.27 112 07/21/2024
3.1.26 114 07/21/2024
3.1.25 112 07/21/2024
3.1.24 119 07/21/2024
3.1.23 120 07/21/2024
3.1.22 140 07/21/2024
3.1.21 108 07/21/2024
3.1.20 131 07/21/2024
3.1.19 114 07/21/2024
3.1.18 112 07/21/2024
3.1.17 118 07/21/2024
3.1.16 119 07/21/2024
3.1.15 123 07/21/2024
3.1.14 114 07/21/2024
3.1.13 98 07/21/2024
3.1.12 118 07/21/2024
3.1.11 113 07/21/2024
3.1.10 137 07/21/2024
3.1.9 126 07/21/2024
3.1.8 150 07/21/2024
3.1.7 114 07/21/2024
3.1.6 107 07/21/2024
3.1.5 130 07/21/2024
3.1.4 138 07/21/2024
3.1.3 107 07/21/2024
3.1.2 108 07/21/2024
3.1.1 127 07/21/2024
3.1.0 122 07/21/2024
3.1.0-preview3.19555.2 105 07/21/2024
3.1.0-preview2.19528.8 122 07/21/2024
3.1.0-preview1.19508.20 102 07/21/2024
3.0.3 112 07/21/2024
3.0.2 106 07/21/2024
3.0.0 118 07/21/2024
3.0.0-rc1.19457.4 109 07/21/2024
3.0.0-preview9.19424.4 113 07/21/2024
3.0.0-preview8.19405.7 140 07/21/2024
3.0.0-preview7.19365.7 118 07/21/2024
3.0.0-preview6.19307.2 127 07/21/2024
3.0.0-preview5-19227-01 111 07/21/2024
3.0.0-preview4-19216-03 114 07/21/2024
3.0.0-preview3-19153-02 142 07/21/2024
3.0.0-preview-19075-0444 117 07/21/2024
3.0.0-preview-18579-0056 112 07/21/2024
2.3.9 19 01/07/2026
2.3.8 25 01/07/2026
2.3.0 104 03/29/2025
2.2.0 128 07/21/2024
2.2.0-preview3-35497 92 07/21/2024
2.2.0-preview2-35157 112 07/21/2024
2.2.0-preview1-35029 104 07/21/2024
2.1.2 120 07/21/2024
2.1.1 141 07/21/2024
2.1.0 112 07/21/2024
2.1.0-rc1-final 104 07/21/2024
2.1.0-preview2-final 118 07/21/2024
2.1.0-preview1-final 135 07/21/2024
2.0.4 109 07/21/2024
2.0.3 128 07/21/2024
2.0.1 116 07/21/2024
2.0.0 110 07/21/2024
2.0.0-preview2-final 125 07/21/2024
2.0.0-preview1-final 117 07/21/2024
1.1.3 118 07/21/2024
1.1.2 115 07/21/2024
1.1.1 130 07/21/2024
1.1.0 122 07/21/2024
1.1.0-preview1-final 103 07/21/2024
1.0.5 137 07/21/2024
1.0.4 109 07/21/2024
1.0.3 115 07/21/2024
1.0.2 109 07/21/2024
1.0.1 105 07/21/2024
1.0.0 113 07/21/2024
1.0.0-rc2-final 107 07/21/2024