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

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
128
Microsoft.AspNetCore.All
Microsoft.AspNetCore.All
130
Microsoft.AspNetCore.All
Microsoft.AspNetCore.All
131
Microsoft.AspNetCore.All
Microsoft.AspNetCore.All
132
Microsoft.AspNetCore.All
Microsoft.AspNetCore.All
135
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.
130
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.
134
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.
135
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.
136
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.
138
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.
141
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.
150
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
136

.NET 11.0

  • No dependencies.

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