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

About

Microsoft.AspNetCore.Authentication.MicrosoftAccount provides ASP.NET Core middleware that enables applications to support the Microsoft Account authentication workflow.

How to Use

To use Microsoft.AspNetCore.Authentication.MicrosoftAccount, follow these steps:

Installation

dotnet add package Microsoft.AspNetCore.Authentication.MicrosoftAccount

Configuration

  1. Refer to the guide in the official documentation here to create the app in Microsoft Developer Portal
  2. Follow the steps in the official documentation here to store the Microsoft client ID and secret
  3. Add the Authentication service to your app's Program.cs:
    var builder = WebApplication.CreateBuilder(args);
    
    builder.Services.AddAuthentication().AddMicrosoftAccount(microsoftOptions =>
    {
        microsoftOptions.ClientId = builder.Configuration["Authentication:Microsoft:ClientId"];
        microsoftOptions.ClientSecret = builder.Configuration["Authentication:Microsoft:ClientSecret"];
    });
    

Main Types

The main types provided by this package are:

  • MicrosoftAccountOptions: Represents the options for configuring Microsoft Account authentication
  • MicrosoftAccountHandler: The authentication handler responsible for processing Microsoft Account authentication requests and generating the appropriate authentication ticket

Additional Documentation

For additional documentation and examples, refer to the official documentation on Microsoft Account login setup in ASP.NET Core.

Feedback & Contributing

Microsoft.AspNetCore.Authentication.MicrosoftAccount 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.MicrosoftAccount.

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