Microsoft.AspNetCore.Authentication.MicrosoftAccount 10.0.0

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
55
Microsoft.AspNetCore.All
Microsoft.AspNetCore.All
56
Microsoft.AspNetCore.All
Microsoft.AspNetCore.All
57
Microsoft.AspNetCore.All
Microsoft.AspNetCore.All
58
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.
55
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.
57
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.
58
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.
59
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.
77
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.
56
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.
65
Ocelot
Ocelot
57
Ocelot
Ocelot Api Gateway
55
Ocelot
Ocelot Api Gateway
56
Ocelot
Ocelot Api Gateway
57
Ocelot
Ocelot Api Gateway
58
Ocelot
Ocelot Api Gateway
59
Ocelot
Ocelot Api Gateway
61

.NET 10.0

  • No dependencies.

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