Microsoft.IdentityModel.JsonWebTokens 8.1.2

Prefix Reserved
dotnet add package Microsoft.IdentityModel.JsonWebTokens --version 8.1.2                
NuGet\Install-Package Microsoft.IdentityModel.JsonWebTokens -Version 8.1.2                
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.IdentityModel.JsonWebTokens" Version="8.1.2" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Microsoft.IdentityModel.JsonWebTokens --version 8.1.2                
#r "nuget: Microsoft.IdentityModel.JsonWebTokens, 8.1.2"                
#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.
// Install Microsoft.IdentityModel.JsonWebTokens as a Cake Addin
#addin nuget:?package=Microsoft.IdentityModel.JsonWebTokens&version=8.1.2

// Install Microsoft.IdentityModel.JsonWebTokens as a Cake Tool
#tool nuget:?package=Microsoft.IdentityModel.JsonWebTokens&version=8.1.2                

IdentityModel Extensions for .NET

Nuget

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:

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 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. 
.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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (282)

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 (94)

Showing the top 5 popular GitHub repositories that depend on Microsoft.IdentityModel.JsonWebTokens:

Repository Stars
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!!
Version Downloads Last updated
8.1.2 411 10/8/2024
8.1.1 79,963 10/5/2024
8.1.0 595,657 9/24/2024
8.0.2 3,032,083 8/22/2024
8.0.1 3,671,525 7/23/2024
8.0.0 1,128,023 7/16/2024
8.0.0-preview1 63,703 6/19/2024
7.7.1 573,825 7/20/2024
7.7.0 21,257 7/18/2024
7.6.3 1,204,586 7/10/2024
7.6.2 2,468,490 6/20/2024
7.6.1 573,715 6/17/2024
7.6.0 8,150,012 5/28/2024
7.5.2 2,879,191 5/13/2024
7.5.1 8,463,935 4/5/2024
7.5.0 3,870,118 3/27/2024
7.4.1 3,323,225 3/15/2024
7.4.0 5,465,528 2/26/2024
7.4.0-preview1 14,313 2/12/2024
7.3.1 9,030,151 2/3/2024
7.3.0 1,325,616 1/30/2024
7.2.0 9,347,446 1/10/2024
7.1.2 37,149,624 1/9/2024
7.0.3 18,497,627 10/17/2023 7.0.3 has at least one vulnerability with moderate severity.
7.0.2 1,372,356 9/29/2023 7.0.2 has at least one vulnerability with moderate severity.
7.0.1 173,394 9/27/2023 7.0.1 has at least one vulnerability with moderate severity.
7.0.0 5,139,537 9/11/2023 7.0.0 has at least one vulnerability with moderate severity.
7.0.0-preview5 177,489 9/6/2023 7.0.0-preview5 has at least one vulnerability with moderate severity.
7.0.0-preview4 7,732 8/29/2023 7.0.0-preview4 has at least one vulnerability with moderate severity.
7.0.0-preview3 19,434 8/21/2023 7.0.0-preview3 has at least one vulnerability with moderate severity.
7.0.0-preview2 8,804 8/13/2023 7.0.0-preview2 has at least one vulnerability with moderate severity.
7.0.0-preview 149,169 7/11/2023 7.0.0-preview has at least one vulnerability with moderate severity.
6.36.0 383,771 7/19/2024
6.35.1 108,441 7/11/2024
6.35.0 61,894,196 1/9/2024
6.34.0 11,334,255 10/17/2023
6.33.0 8,125,086 10/3/2023 6.33.0 has at least one vulnerability with moderate severity.
6.32.3 3,004,604 9/5/2023 6.32.3 has at least one vulnerability with moderate severity.
6.32.2 2,719,832 8/26/2023 6.32.2 has at least one vulnerability with moderate severity.
6.32.1 4,456,799 7/28/2023 6.32.1 has at least one vulnerability with moderate severity.
6.32.0 6,935,858 7/12/2023 6.32.0 has at least one vulnerability with moderate severity.
6.31.0 6,499,472 6/8/2023 6.31.0 has at least one vulnerability with moderate severity.
6.30.1 5,452,005 5/10/2023 6.30.1 has at least one vulnerability with moderate severity.
6.30.0 6,888,649 4/26/2023 6.30.0 has at least one vulnerability with moderate severity.
6.29.0 4,248,590 4/14/2023 6.29.0 has at least one vulnerability with moderate severity.
6.28.1 3,033,731 4/3/2023 6.28.1 has at least one vulnerability with moderate severity.
6.27.0 12,520,208 2/16/2023 6.27.0 has at least one vulnerability with moderate severity.
6.26.1 6,399,839 2/7/2023 6.26.1 has at least one vulnerability with moderate severity.
6.26.0 3,860,896 1/20/2023 6.26.0 has at least one vulnerability with moderate severity.
6.25.1 25,150,581 12/1/2022 6.25.1 has at least one vulnerability with moderate severity.
6.25.0 10,768,201 10/27/2022 6.25.0 has at least one vulnerability with moderate severity.
6.24.0 71,752,727 10/13/2022 6.24.0 has at least one vulnerability with moderate severity.
6.23.1 18,727,083 9/8/2022 6.23.1 has at least one vulnerability with moderate severity.
6.23.0 722,370 9/6/2022 6.23.0 has at least one vulnerability with moderate severity.
6.22.1 3,229,160 8/25/2022 6.22.1 has at least one vulnerability with moderate severity.
6.22.0 12,890,147 7/27/2022 6.22.0 has at least one vulnerability with moderate severity.
6.21.0 66,894,246 7/1/2022 6.21.0 has at least one vulnerability with moderate severity.
6.20.0 7,498,493 6/21/2022 6.20.0 has at least one vulnerability with moderate severity.
6.19.0 17,863,659 6/6/2022 6.19.0 has at least one vulnerability with moderate severity.
6.18.0 5,871,607 5/19/2022 6.18.0 has at least one vulnerability with moderate severity.
6.17.0 16,658,569 4/6/2022 6.17.0 has at least one vulnerability with moderate severity.
6.16.0 17,251,473 2/18/2022 6.16.0 has at least one vulnerability with moderate severity.
6.15.1 55,201,819 1/20/2022 6.15.1 has at least one vulnerability with moderate severity.
6.15.0 15,575,074 12/3/2021 6.15.0 has at least one vulnerability with moderate severity.
6.14.1 9,091,955 11/4/2021 6.14.1 has at least one vulnerability with moderate severity.
6.14.0 999,891 10/29/2021 6.14.0 has at least one vulnerability with moderate severity.
6.13.1 11,501,380 10/7/2021 6.13.1 has at least one vulnerability with moderate severity.
6.12.2 25,942,674 8/20/2021 6.12.2 has at least one vulnerability with moderate severity.
6.12.1 3,962,683 8/13/2021 6.12.1 has at least one vulnerability with moderate severity.
6.12.0 6,995,144 7/21/2021 6.12.0 has at least one vulnerability with moderate severity.
6.11.1 25,396,463 5/21/2021 6.11.1 has at least one vulnerability with moderate severity.
6.11.0 4,068,002 4/27/2021 6.11.0 has at least one vulnerability with moderate severity.
6.10.2 10,231,886 4/15/2021 6.10.2 has at least one vulnerability with moderate severity.
6.10.1 1,117,450 4/12/2021 6.10.1 has at least one vulnerability with moderate severity.
6.10.0 136,958,334 3/30/2021 6.10.0 has at least one vulnerability with moderate severity.
6.9.0 2,532,662 3/16/2021 6.9.0 has at least one vulnerability with moderate severity.
6.8.0 223,260,341 10/13/2020 6.8.0 has at least one vulnerability with moderate severity.
6.7.2-preview-10803222715 63,860 8/4/2020 6.7.2-preview-10803222715 has at least one vulnerability with moderate severity.
6.7.1 86,468,365 6/30/2020 6.7.1 has at least one vulnerability with moderate severity.
6.6.0 8,525,163 5/22/2020 6.6.0 has at least one vulnerability with moderate severity.
6.5.1 5,063,290 4/28/2020 6.5.1 has at least one vulnerability with moderate severity.
6.5.0 13,112,314 3/24/2020 6.5.0 has at least one vulnerability with moderate severity.
5.7.0 1,449,728 1/9/2024
5.6.0 149,556,386 10/19/2019 5.6.0 has at least one vulnerability with moderate severity.
5.5.0 212,728,464 6/24/2019 5.5.0 has at least one vulnerability with moderate severity.
5.4.0 108,203,249 1/23/2019 5.4.0 has at least one vulnerability with moderate severity.
5.3.0 70,030,794 10/5/2018 5.3.0 has at least one vulnerability with moderate severity.
5.2.4 27,496,535 6/19/2018 5.2.4 has at least one vulnerability with moderate severity.