Microsoft.IdentityModel.JsonWebTokens
8.7.0
Prefix Reserved
See the version list below for details.
dotnet add package Microsoft.IdentityModel.JsonWebTokens --version 8.7.0
NuGet\Install-Package Microsoft.IdentityModel.JsonWebTokens -Version 8.7.0
<PackageReference Include="Microsoft.IdentityModel.JsonWebTokens" Version="8.7.0" />
<PackageVersion Include="Microsoft.IdentityModel.JsonWebTokens" Version="8.7.0" />
<PackageReference Include="Microsoft.IdentityModel.JsonWebTokens" />
paket add Microsoft.IdentityModel.JsonWebTokens --version 8.7.0
#r "nuget: Microsoft.IdentityModel.JsonWebTokens, 8.7.0"
#addin nuget:?package=Microsoft.IdentityModel.JsonWebTokens&version=8.7.0
#tool nuget:?package=Microsoft.IdentityModel.JsonWebTokens&version=8.7.0
IdentityModel Extensions for .NET
IdentityModel Extensions for .NET provide assemblies that are interesting for web developers that wish to use federated identity providers for establishing the caller's identity.
Versions
You can find the release notes for each version here. Older versions can be found here.
IdentityModel 7x
We are excited to announce the release of IdentityModel 7x, a major update to our popular .NET auth validation library. This new version introduces several improvements related to serialization and consistency in the API, which will provide a better user experience for developers, as well as full AOT compatibility on .NET, and huge perf improvements compared to 6x.
Note about 6.x
We bumped the release from 6.x to 7.x. We are maintaining two releases from two different branches. dev - 7.x dev6x - 6.x
dev6x will be maintained until March 2024, at which point, you will need to move to 7x to continue to get the latest and greatest improvements and security updates.
Samples and Documentation
The scenarios supported by IdentityModel extensions for .NET are described in Scenarios. The libraries are in particular used part of ASP.NET security to validate tokens in ASP.NET Web Apps and Web APIs. To learn more about token validation, and find samples, see:
- Microsoft Entra ID with ASP.NET Core
- Developing ASP.NET Apps with Microsoft Entra ID
- Validating tokens
- more generally, the library's Wiki
- the reference documentation
Community Help and Support
We leverage Stack Overflow to work with the community on supporting Microsoft Entra and its SDKs, including this one! We highly recommend you ask your questions on Stack Overflow (we're all on there!) Also browse existing issues to see if someone has had your question before.
We recommend you use the "identityModel" tag so we can see it! Here is the latest Q&A on Stack Overflow for IdentityModel: https://stackoverflow.com/questions/tagged/identityModel
Have a design proposal? Please submit a design proposal before starting work on a PR to ensure it means the goals/objectives of this library and it's priorities.
Security Reporting
See SECURITY.md
Security Vulnerability in Microsoft.IdentityModel.Tokens 5.1.0
IdentityModel Extensions library Microsoft.IdentityModel.Tokens has a known security vulnerability affecting version 5.1.0. Please update to >= 5.1.1 immediately. An updated package is available on NuGet. For more details, see the security notice.
Contributing
All code is licensed under the MIT license and we triage actively on GitHub. We enthusiastically welcome contributions and feedback. See Contributing.md for guidelines, branch information, build instructions, and legalese.
License
Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License (the "License");
We Value and Adhere to the Microsoft Open Source Code of Conduct
This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 is compatible. net463 was computed. net47 was computed. net471 was computed. net472 is compatible. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETFramework 4.6.2
- Microsoft.Bcl.TimeProvider (>= 8.0.1)
- Microsoft.IdentityModel.Tokens (>= 8.7.0)
-
.NETFramework 4.7.2
- Microsoft.Bcl.TimeProvider (>= 8.0.1)
- Microsoft.IdentityModel.Tokens (>= 8.7.0)
-
.NETStandard 2.0
- Microsoft.Bcl.TimeProvider (>= 8.0.1)
- Microsoft.IdentityModel.Tokens (>= 8.7.0)
-
net6.0
- Microsoft.Bcl.TimeProvider (>= 8.0.1)
- Microsoft.IdentityModel.Tokens (>= 8.7.0)
-
net8.0
- Microsoft.IdentityModel.Tokens (>= 8.7.0)
-
net9.0
- Microsoft.IdentityModel.Tokens (>= 8.7.0)
NuGet packages (361)
Showing the top 5 NuGet packages that depend on Microsoft.IdentityModel.JsonWebTokens:
Package | Downloads |
---|---|
System.IdentityModel.Tokens.Jwt
Includes types that provide support for creating, serializing and validating JSON Web Tokens. As of IdentityModel 7x, this is a legacy tool that should be replaced with Microsoft.IdentityModel.JsonWebTokens. |
|
Microsoft.Data.SqlClient
The current data provider for SQL Server and Azure SQL databases. This has replaced System.Data.SqlClient. These classes provide access to SQL and encapsulate database-specific protocols, including tabular data stream (TDS). Commonly Used Types: Microsoft.Data.SqlClient.SqlConnection Microsoft.Data.SqlClient.SqlException Microsoft.Data.SqlClient.SqlParameter Microsoft.Data.SqlClient.SqlDataReader Microsoft.Data.SqlClient.SqlCommand Microsoft.Data.SqlClient.SqlTransaction Microsoft.Data.SqlClient.SqlParameterCollection Microsoft.Data.SqlClient.SqlClientFactory When using NuGet 3.x this package requires at least version 3.4. |
|
Microsoft.Identity.Web.Certificateless
This package brings certificateless authentication. |
|
Microsoft.Owin.Security.Jwt
Middleware that enables an application to protect and validate JSON Web Tokens. |
|
Microsoft.Owin.Security.OpenIdConnect
Middleware that enables an application to use OpenIdConnect for authentication. |
GitHub repositories (96)
Showing the top 20 popular GitHub repositories that depend on Microsoft.IdentityModel.JsonWebTokens:
Repository | Stars |
---|---|
microsoft/semantic-kernel
Integrate cutting-edge LLM technology quickly and easily into your apps
|
|
dotnet/roslyn
The Roslyn .NET compiler provides C# and Visual Basic languages with rich code analysis APIs.
|
|
abpframework/abp
Open-source web application framework for ASP.NET Core! Offers an opinionated architecture to build enterprise software solutions with best practices on top of the .NET. Provides the fundamental infrastructure, cross-cutting-concern implementations, startup templates, application modules, UI themes, tooling and documentation.
|
|
JustArchiNET/ArchiSteamFarm
C# application with primary purpose of farming Steam cards from multiple accounts simultaneously.
|
|
chocolatey/choco
Chocolatey - the package manager for Windows
|
|
unoplatform/uno
Open-source platform for building cross-platform native Mobile, Web, Desktop and Embedded apps quickly. Create rich, C#/XAML, single-codebase apps from any IDE. Hot Reload included! 90m+ NuGet Downloads!!
|
|
umbraco/Umbraco-CMS
Umbraco is a free and open source .NET content management system helping you deliver delightful digital experiences.
|
|
openiddict/openiddict-core
Flexible and versatile OAuth 2.0/OpenID Connect stack for .NET
|
|
Azure/azure-powershell
Microsoft Azure PowerShell
|
|
microsoft/perfview
PerfView is a CPU and memory performance-analysis tool
|
|
cake-build/cake
:cake: Cake (C# Make) is a cross platform build automation system.
|
|
OrchardCMS/Orchard
Orchard is a free, open source, community-focused Content Management System built on the ASP.NET MVC platform.
|
|
pnp/PnP
SharePoint / Office 365 Developer Patterns and Practices - Archived older solutions. Please see https://aka.ms/m365pnp for updated guidance
|
|
scottksmith95/LINQKit
LINQKit is a free set of extensions for LINQ to SQL and Entity Framework power users.
|
|
microsoft/PowerApps-Samples
Sample code for Power Apps, including Dataverse, model-driven apps, canvas apps, Power Apps component framework, portals, and AI Builder.
|
|
DuendeSoftware/products
The most flexible and standards-compliant OpenID Connect and OAuth 2.x framework for ASP.NET Core
|
|
webprofusion/certify
Professional ACME Client for Windows. Certificate Management UI, powered by Let's Encrypt and compatible with all ACME v2 CAs. Used by over 150,000 organisations. Remember to Star us! Download from certifytheweb.com
|
|
xamarin/Essentials
Xamarin.Essentials is no longer supported. Migrate your apps to .NET MAUI, which includes Maui.Essentials.
|
|
AzureAD/microsoft-authentication-library-for-dotnet
Microsoft Authentication Library (MSAL) for .NET
|
|
NethermindEth/nethermind
A robust execution client for Ethereum node operators.
|
Version | Downloads | Last updated | |
---|---|---|---|
8.8.0 | 151,076 | 4/8/2025 | |
8.7.0 | 989,297 | 3/21/2025 | |
8.6.1 | 1,599,842 | 3/7/2025 | |
8.6.0 | 1,324,929 | 2/22/2025 | |
8.5.0 | 1,554,783 | 2/15/2025 | |
8.4.0 | 1,247,588 | 2/7/2025 | |
8.3.1 | 4,476,931 | 1/17/2025 | |
8.3.0 | 8,467,704 | 12/4/2024 | |
8.2.1 | 5,509,359 | 11/15/2024 | |
8.2.0 | 6,906,706 | 11/2/2024 | |
8.1.2 | 8,215,290 | 10/8/2024 | |
8.1.1 | 816,122 | 10/5/2024 | |
8.0.1 | 14,512,278 | 7/23/2024 | |
8.0.0 | 2,208,690 | 7/16/2024 | |
8.0.0-preview1 | 151,824 | 6/19/2024 | |
7.7.1 | 2,793,325 | 7/20/2024 | |
7.7.0 | 72,030 | 7/18/2024 | |
7.6.3 | 3,267,938 | 7/10/2024 | |
7.6.2 | 5,185,319 | 6/20/2024 | |
7.6.1 | 1,044,569 | 6/17/2024 | |
7.6.0 | 14,299,168 | 5/28/2024 | |
7.5.2 | 4,938,452 | 5/13/2024 | |
7.5.1 | 14,396,518 | 4/5/2024 | |
7.5.0 | 10,535,210 | 3/27/2024 | |
7.4.1 | 5,189,851 | 3/15/2024 | |
7.4.0 | 7,830,745 | 2/26/2024 | |
7.4.0-preview1 | 18,200 | 2/12/2024 | |
7.3.1 | 13,446,781 | 2/3/2024 | |
7.3.0 | 1,872,259 | 1/30/2024 | |
7.2.0 | 13,436,914 | 1/10/2024 | |
7.1.2 | 81,782,061 | 1/9/2024 | |
7.0.3 | 24,415,019 | 10/17/2023 | |
7.0.2 | 1,554,719 | 9/29/2023 | |
7.0.1 | 213,913 | 9/27/2023 | |
7.0.0 | 8,010,404 | 9/11/2023 | |
7.0.0-preview5 | 314,938 | 9/6/2023 | |
7.0.0-preview4 | 7,999 | 8/29/2023 | |
7.0.0-preview3 | 20,739 | 8/21/2023 | |
7.0.0-preview2 | 9,211 | 8/13/2023 | |
7.0.0-preview | 178,396 | 7/11/2023 | |
6.36.0 | 3,021,622 | 7/19/2024 | |
6.35.1 | 312,110 | 7/11/2024 | |
6.35.0 | 140,106,066 | 1/9/2024 | |
6.34.0 | 26,543,269 | 10/17/2023 | |
6.33.0 | 9,502,109 | 10/3/2023 | |
6.32.3 | 3,416,333 | 9/5/2023 | |
6.32.2 | 3,053,999 | 8/26/2023 | |
6.32.1 | 5,189,944 | 7/28/2023 | |
6.32.0 | 8,024,223 | 7/12/2023 | |
6.31.0 | 7,063,325 | 6/8/2023 | |
6.30.1 | 6,278,109 | 5/10/2023 | |
6.30.0 | 7,701,444 | 4/26/2023 | |
6.29.0 | 4,677,564 | 4/14/2023 | |
6.28.1 | 3,346,113 | 4/3/2023 | |
6.27.0 | 13,575,528 | 2/16/2023 | |
6.26.1 | 7,785,593 | 2/7/2023 | |
6.26.0 | 4,202,883 | 1/20/2023 | |
6.25.1 | 28,070,727 | 12/1/2022 | |
6.25.0 | 11,651,025 | 10/27/2022 | |
6.24.0 | 92,298,840 | 10/13/2022 | |
6.23.1 | 20,776,476 | 9/8/2022 | |
6.23.0 | 778,776 | 9/6/2022 | |
6.22.1 | 3,427,214 | 8/25/2022 | |
6.22.0 | 15,155,469 | 7/27/2022 | |
6.21.0 | 74,071,367 | 7/1/2022 | |
6.20.0 | 8,039,979 | 6/21/2022 | |
6.19.0 | 20,559,472 | 6/6/2022 | |
6.18.0 | 6,164,119 | 5/19/2022 | |
6.17.0 | 18,094,964 | 4/6/2022 | |
6.16.0 | 20,278,268 | 2/18/2022 | |
6.15.1 | 61,311,332 | 1/20/2022 | |
6.15.0 | 16,800,345 | 12/3/2021 | |
6.14.1 | 9,606,955 | 11/4/2021 | |
6.14.0 | 1,061,416 | 10/29/2021 | |
6.13.1 | 12,460,112 | 10/7/2021 | |
6.12.2 | 28,435,911 | 8/20/2021 | |
6.12.1 | 4,254,652 | 8/13/2021 | |
6.12.0 | 8,524,434 | 7/21/2021 | |
6.11.1 | 28,309,414 | 5/21/2021 | |
6.11.0 | 4,257,534 | 4/27/2021 | |
6.10.2 | 11,539,563 | 4/15/2021 | |
6.10.1 | 1,194,992 | 4/12/2021 | |
6.10.0 | 151,252,736 | 3/30/2021 | |
6.9.0 | 2,624,649 | 3/16/2021 | |
6.8.0 | 247,907,052 | 10/13/2020 | |
6.7.2-preview-10803222715 | 67,962 | 8/4/2020 | |
6.7.1 | 94,009,602 | 6/30/2020 | |
6.6.0 | 8,801,478 | 5/22/2020 | |
6.5.1 | 5,335,985 | 4/28/2020 | |
6.5.0 | 14,137,950 | 3/24/2020 | |
5.7.0 | 3,055,805 | 1/9/2024 | |
5.6.0 | 158,437,759 | 10/19/2019 | |
5.5.0 | 225,019,738 | 6/24/2019 | |
5.4.0 | 116,457,346 | 1/23/2019 | |
5.3.0 | 77,048,626 | 10/5/2018 | |
5.2.4 | 28,616,346 | 6/19/2018 |