Microsoft.Authentication.WebAssembly.Msal 10.0.0

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package Microsoft.Authentication.WebAssembly.Msal --version 10.0.0
                    
NuGet\Install-Package Microsoft.Authentication.WebAssembly.Msal -Version 10.0.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Microsoft.Authentication.WebAssembly.Msal" Version="10.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Microsoft.Authentication.WebAssembly.Msal" Version="10.0.0" />
                    
Directory.Packages.props
<PackageReference Include="Microsoft.Authentication.WebAssembly.Msal" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Microsoft.Authentication.WebAssembly.Msal --version 10.0.0
                    
#r "nuget: Microsoft.Authentication.WebAssembly.Msal, 10.0.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Microsoft.Authentication.WebAssembly.Msal@10.0.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Microsoft.Authentication.WebAssembly.Msal&version=10.0.0
                    
Install as a Cake Addin
#tool nuget:?package=Microsoft.Authentication.WebAssembly.Msal&version=10.0.0
                    
Install as a Cake Tool

About

Microsoft.Authentication.WebAssembly.Msal provides client-side authentication using Microsoft Authentication Library (MSAL) for Blazor apps running under WebAssembly.

How to Use

To use Microsoft.Authentication.WebAssembly.Msal, follow these steps:

Installation

dotnet add package Microsoft.Authentication.WebAssembly.Msal

Usage

For usage examples and documentation, refer to the offical documentation on Blazor WebAssembly security and identity.

Feedback & Contributing

Microsoft.Authentication.WebAssembly.Msal is released as open-source under the MIT license. Bug reports and contributions are welcome at the GitHub repository.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (17)

Showing the top 5 NuGet packages that depend on Microsoft.Authentication.WebAssembly.Msal:

Package Downloads
Ngs.Client.Ui

Package Description

GreatIdeaz.trellispark.UX.AUTH.AAD

Package Description

Empezar.BlazorClient

Package Description

Sparc.Platforms.Web

Web platform Sparc package

Wangkanai.Graph

This is a wrapper for Microsoft Graph Authentication.

GitHub repositories (9)

Showing the top 9 popular GitHub repositories that depend on Microsoft.Authentication.WebAssembly.Msal:

Repository Stars
microsoft/fluentui-blazor
Microsoft Fluent UI Blazor components library. For use with ASP.NET Core Blazor applications
microsoft/PowerApps-Samples
Sample code for Power Apps, including Dataverse, model-driven apps, canvas apps, Power Apps component framework, portals, and AI Builder.
AzureAD/microsoft-identity-web
Helps creating protected web apps and web APIs with Microsoft identity platform and Azure AD B2C
fullstackhero/blazor-wasm-boilerplate
Clean Architecture Boilerplate Template for .NET 6.0 Blazor WebAssembly built for FSH WebAPI with the goodness of MudBlazor Components.
ThomasBleijendaal/RapidCMS
RapidCMS is a Blazor framework which allows you to build a responsive and flexible CMS purely from code. It provides a basic set of editors and controls, and is fully customisable.
pnp/pnpcore
The PnP Core SDK is a modern .NET SDK designed to work for Microsoft 365. It provides a unified object model for working with SharePoint Online and Teams which is agnostic to the underlying API's being called
chunliu/AzureDesignStudio
A web app that helps you create the architecture design diagram for your Azure solutions and automatically generate IaC code from it.
IEvangelist/signalr-chat
A chat app built with Blazor WebAssembly, hosted on ASP.NET Core, with the latest C# and SignalR -- need I say more?
IEvangelist/learning-blazor
The application for the "Learning Blazor: Build Single Page Apps with WebAssembly and C#" O'Reilly Media book by David Pine.
Version Downloads Last Updated
10.0.1 1,474 12/9/2025
10.0.0 23,161 11/11/2025
10.0.0-rc.2.25502.107 927 10/14/2025
10.0.0-rc.1.25451.107 1,266 9/9/2025
10.0.0-preview.7.25380.108 245 8/12/2025
10.0.0-preview.6.25358.103 212 7/15/2025
10.0.0-preview.5.25277.114 216 6/6/2025
10.0.0-preview.4.25258.110 408 5/12/2025
10.0.0-preview.3.25172.1 284 4/10/2025
10.0.0-preview.2.25164.1 289 3/18/2025
10.0.0-preview.1.25120.3 195 2/25/2025
9.0.11 9,633 11/11/2025
9.0.10 47,005 10/14/2025
9.0.9 63,747 9/9/2025
9.0.8 73,220 8/5/2025
9.0.7 45,087 7/8/2025
9.0.6 52,222 6/10/2025
9.0.5 54,032 5/13/2025
9.0.4 80,217 4/8/2025
9.0.3 85,901 3/11/2025
9.0.2 70,443 2/11/2025
9.0.1 53,505 1/14/2025
9.0.0 140,232 11/12/2024
9.0.0-rc.2.24474.3 1,288 10/8/2024
9.0.0-rc.1.24452.1 897 9/10/2024
9.0.0-preview.7.24406.2 393 8/13/2024
9.0.0-preview.6.24328.4 349 7/9/2024
9.0.0-preview.5.24306.11 256 6/11/2024
9.0.0-preview.4.24267.6 205 5/21/2024
9.0.0-preview.3.24172.13 300 4/11/2024
9.0.0-preview.2.24128.4 246 3/12/2024
9.0.0-preview.1.24081.5 398 2/13/2024
8.0.22 9,183 11/11/2025
8.0.21 12,454 10/14/2025
8.0.20 26,963 9/9/2025
8.0.19 32,133 8/4/2025
8.0.18 21,650 7/8/2025
8.0.17 21,753 6/10/2025
8.0.16 30,659 5/13/2025
8.0.15 42,251 4/8/2025
8.0.14 78,374 3/11/2025
8.0.13 57,772 2/11/2025
8.0.12 96,718 1/14/2025
8.0.11 177,065 11/12/2024
8.0.10 232,709 10/8/2024
8.0.8 253,891 8/13/2024
8.0.7 214,634 7/9/2024
8.0.6 223,370 5/28/2024
8.0.5 89,659 5/14/2024
8.0.4 147,073 4/9/2024
8.0.3 138,443 3/12/2024
8.0.2 127,676 2/13/2024
8.0.1 177,246 1/9/2024
8.0.0 197,735 11/14/2023
8.0.0-rc.2.23480.2 4,987 10/10/2023
8.0.0-rc.1.23421.29 3,349 9/12/2023
8.0.0-preview.7.23375.9 893 8/8/2023
8.0.0-preview.6.23329.11 744 7/11/2023
8.0.0-preview.5.23302.2 1,198 6/13/2023
8.0.0-preview.4.23260.4 562 5/16/2023
8.0.0-preview.3.23177.8 666 4/11/2023
8.0.0-preview.2.23153.2 504 3/14/2023
8.0.0-preview.1.23112.2 448 2/21/2023
7.0.20 26,744 5/28/2024
7.0.19 5,272 5/14/2024
7.0.18 5,413 4/9/2024
7.0.17 8,439 3/12/2024
7.0.16 16,480 2/13/2024
7.0.15 24,325 1/9/2024
7.0.14 27,066 11/14/2023
7.0.13 37,705 10/24/2023
7.0.12 32,751 10/10/2023
7.0.11 47,340 9/12/2023
7.0.10 118,288 8/8/2023
7.0.9 117,531 7/11/2023
7.0.8 29,654 6/22/2023
7.0.7 35,521 6/13/2023
7.0.5 248,322 4/11/2023
7.0.4 75,807 3/14/2023
7.0.3 67,123 2/14/2023
7.0.2 93,287 1/10/2023
7.0.1 78,242 12/13/2022
7.0.0 73,984 11/7/2022
7.0.0-rc.2.22476.2 1,280 10/11/2022
7.0.0-rc.1.22427.2 1,102 9/14/2022
7.0.0-preview.7.22376.6 1,208 8/9/2022
7.0.0-preview.6.22330.3 508 7/12/2022
7.0.0-preview.5.22303.8 394 6/14/2022
7.0.0-preview.4.22251.1 547 5/10/2022
7.0.0-preview.3.22178.4 435 4/13/2022
7.0.0-preview.2.22153.2 372 3/14/2022
7.0.0-preview.1.22109.13 399 2/17/2022
6.0.36 7,657 11/12/2024
6.0.35 3,499 10/8/2024
6.0.33 4,582 8/13/2024
6.0.32 2,294 7/9/2024
6.0.31 5,078 5/28/2024
6.0.30 4,040 5/14/2024
6.0.29 8,498 4/9/2024
6.0.28 6,279 3/12/2024
6.0.27 3,760 2/13/2024
6.0.26 17,604 1/9/2024
6.0.25 24,091 11/14/2023
6.0.24 17,189 10/24/2023
6.0.23 17,551 10/10/2023
6.0.22 18,291 9/12/2023
6.0.21 15,045 8/8/2023
6.0.20 20,933 7/11/2023
6.0.19 9,690 6/22/2023
6.0.18 15,205 6/13/2023
6.0.16 48,485 4/11/2023
6.0.15 25,821 3/14/2023
6.0.14 36,317 2/14/2023
6.0.13 49,314 1/10/2023
6.0.12 63,630 12/13/2022
6.0.11 152,132 11/7/2022
6.0.10 86,345 10/11/2022
6.0.9 88,087 9/13/2022
6.0.8 114,563 8/9/2022
6.0.7 103,511 7/12/2022
6.0.6 94,910 6/14/2022
6.0.5 119,016 5/10/2022
6.0.4 109,105 4/11/2022
6.0.3 123,804 3/8/2022
6.0.2 92,727 2/8/2022
6.0.1 433,694 12/14/2021
6.0.0 186,028 11/8/2021
6.0.0-rc.2.21480.10 4,797 10/12/2021
6.0.0-rc.1.21452.15 4,187 9/14/2021
6.0.0-preview.7.21378.6 16,958 8/10/2021
6.0.0-preview.6.21355.2 1,481 7/14/2021
6.0.0-preview.5.21301.17 1,328 6/15/2021
6.0.0-preview.4.21253.5 1,184 5/24/2021
6.0.0-preview.3.21201.13 1,104 4/8/2021
6.0.0-preview.2.21154.6 705 3/11/2021 6.0.0-preview.2.21154.6 is deprecated because it is no longer maintained.
6.0.0-preview.1.21103.6 854 2/12/2021 6.0.0-preview.1.21103.6 is deprecated because it is no longer maintained.
5.0.17 33,288 5/10/2022 5.0.17 is deprecated because it is no longer maintained.
5.0.16 3,003 4/11/2022 5.0.16 is deprecated because it is no longer maintained.
5.0.15 9,275 3/8/2022 5.0.15 is deprecated because it is no longer maintained.
5.0.14 20,846 2/8/2022 5.0.14 is deprecated because it is no longer maintained.
5.0.13 12,666 12/14/2021 5.0.13 is deprecated because it is no longer maintained.
5.0.12 10,519 11/7/2021 5.0.12 is deprecated because it is no longer maintained.
5.0.11 28,086 10/12/2021 5.0.11 is deprecated because it is no longer maintained.
5.0.10 30,450 9/14/2021 5.0.10 is deprecated because it is no longer maintained.
5.0.9 41,752 8/10/2021 5.0.9 is deprecated because it is no longer maintained.
5.0.8 29,616 7/13/2021 5.0.8 is deprecated because it is no longer maintained.
5.0.7 58,691 6/8/2021 5.0.7 is deprecated because it is no longer maintained.
5.0.6 39,042 5/11/2021 5.0.6 is deprecated because it is no longer maintained.
5.0.5 54,850 4/6/2021 5.0.5 is deprecated because it is no longer maintained.
5.0.4 33,736 3/9/2021 5.0.4 is deprecated because it is no longer maintained.
5.0.3 30,058 2/9/2021 5.0.3 is deprecated because it is no longer maintained.
5.0.2 41,097 1/12/2021 5.0.2 is deprecated because it is no longer maintained.
5.0.1 26,236 12/8/2020 5.0.1 is deprecated because it is no longer maintained.
5.0.0 19,934 11/9/2020 5.0.0 is deprecated because it is no longer maintained.
5.0.0-rc.2.20475.17 2,466 10/13/2020 5.0.0-rc.2.20475.17 is deprecated because it is no longer maintained.
5.0.0-rc.1.20451.17 1,866 9/14/2020 5.0.0-rc.1.20451.17 is deprecated because it is no longer maintained.
5.0.0-preview.8.20414.8 849 8/25/2020 5.0.0-preview.8.20414.8 is deprecated because it is no longer maintained.
5.0.0-preview.7.20365.19 779 7/21/2020 5.0.0-preview.7.20365.19 is deprecated because it is no longer maintained.
5.0.0-preview.6.20312.15 920 6/25/2020 5.0.0-preview.6.20312.15 is deprecated because it is no longer maintained.