System.IdentityModel.Tokens.Jwt 8.0.2

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

// Install System.IdentityModel.Tokens.Jwt as a Cake Tool
#tool nuget:?package=System.IdentityModel.Tokens.Jwt&version=8.0.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. 
.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 (2.7K)

Showing the top 5 NuGet packages that depend on System.IdentityModel.Tokens.Jwt:

Package Downloads
Microsoft.IdentityModel.Protocols.OpenIdConnect

Includes types that provide support for OpenIdConnect protocol.

Microsoft.Azure.ServiceBus

Please note, a newer package Azure.Messaging.ServiceBus is available as of November 2020. While this package will continue to receive critical bug fixes, we strongly encourage you to upgrade. Read the migration guide at https://aka.ms/azsdk/net/migrate/sb for more details.

Microsoft.Identity.Web

This package enables ASP.NET Core web apps and web APIs to use the Microsoft identity platform (formerly Azure AD v2.0). This package is specifically used for web applications, which sign-in users, and protected web APIs, which optionally call downstream web APIs.

Twilio

Twilio REST API helper library

Microsoft.IdentityModel.Validators

Includes types that provide token validators.

GitHub repositories (339)

Showing the top 5 popular GitHub repositories that depend on System.IdentityModel.Tokens.Jwt:

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.
duplicati/duplicati
Store securely encrypted backups in the cloud!
chocolatey/choco
Chocolatey - the package manager for Windows
dotnet-architecture/eShopOnWeb
Sample ASP.NET Core 8.0 reference application, powered by Microsoft, demonstrating a layered application architecture with monolithic deployment model. Download the eBook PDF from docs folder.
Version Downloads Last updated
8.0.2 672,433 8/22/2024
8.0.1 2,077,456 7/23/2024
8.0.0 600,533 7/16/2024
8.0.0-preview1 48,407 6/19/2024
7.7.1 279,322 7/20/2024
7.7.0 14,455 7/18/2024
7.6.3 899,912 7/10/2024
7.6.2 1,721,844 6/20/2024
7.6.1 279,908 6/17/2024
7.6.0 6,357,982 5/28/2024
7.5.2 2,278,862 5/13/2024
7.5.1 6,930,197 4/5/2024
7.5.0 3,420,113 3/27/2024
7.4.1 2,670,002 3/15/2024
7.4.0 4,666,197 2/26/2024
7.4.0-preview1 12,808 2/12/2024
7.3.1 7,953,537 2/3/2024
7.3.0 1,156,764 1/30/2024
7.2.0 8,083,585 1/10/2024
7.1.2 30,437,257 1/9/2024
7.0.3 17,263,709 10/17/2023 7.0.3 has at least one vulnerability with moderate severity.
7.0.2 1,310,323 9/29/2023 7.0.2 has at least one vulnerability with moderate severity.
7.0.1 162,680 9/27/2023 7.0.1 has at least one vulnerability with moderate severity.
7.0.0 4,000,383 9/11/2023 7.0.0 has at least one vulnerability with moderate severity.
7.0.0-preview5 152,656 9/6/2023 7.0.0-preview5 has at least one vulnerability with moderate severity.
7.0.0-preview4 6,560 8/29/2023 7.0.0-preview4 has at least one vulnerability with moderate severity.
7.0.0-preview3 17,910 8/21/2023 7.0.0-preview3 has at least one vulnerability with moderate severity.
7.0.0-preview2 7,529 8/13/2023 7.0.0-preview2 has at least one vulnerability with moderate severity.
7.0.0-preview 141,809 7/11/2023 7.0.0-preview has at least one vulnerability with moderate severity.
6.36.0 160,954 7/19/2024
6.35.1 72,366 7/11/2024
6.35.0 44,442,069 1/9/2024
6.34.0 9,291,596 10/17/2023
6.33.0 3,759,800 10/3/2023 6.33.0 has at least one vulnerability with moderate severity.
6.32.3 2,747,393 9/5/2023 6.32.3 has at least one vulnerability with moderate severity.
6.32.2 2,596,758 8/26/2023 6.32.2 has at least one vulnerability with moderate severity.
6.32.1 4,268,700 7/28/2023 6.32.1 has at least one vulnerability with moderate severity.
6.32.0 6,589,683 7/12/2023 6.32.0 has at least one vulnerability with moderate severity.
6.31.0 6,262,733 6/8/2023 6.31.0 has at least one vulnerability with moderate severity.
6.30.1 5,179,399 5/10/2023 6.30.1 has at least one vulnerability with moderate severity.
6.30.0 6,377,234 4/26/2023 6.30.0 has at least one vulnerability with moderate severity.
6.29.0 4,061,432 4/14/2023 6.29.0 has at least one vulnerability with moderate severity.
6.28.1 2,949,818 4/3/2023 6.28.1 has at least one vulnerability with moderate severity.
6.27.0 11,967,765 2/16/2023 6.27.0 has at least one vulnerability with moderate severity.
6.26.1 6,094,336 2/7/2023 6.26.1 has at least one vulnerability with moderate severity.
6.26.0 3,691,106 1/20/2023 6.26.0 has at least one vulnerability with moderate severity.
6.25.1 22,090,416 12/1/2022 6.25.1 has at least one vulnerability with moderate severity.
6.25.0 10,250,161 10/27/2022 6.25.0 has at least one vulnerability with moderate severity.
6.24.0 64,590,480 10/13/2022 6.24.0 has at least one vulnerability with moderate severity.
6.23.1 18,037,593 9/8/2022 6.23.1 has at least one vulnerability with moderate severity.
6.23.0 688,314 9/6/2022 6.23.0 has at least one vulnerability with moderate severity.
6.22.1 3,099,832 8/25/2022 6.22.1 has at least one vulnerability with moderate severity.
6.22.0 12,416,639 7/27/2022 6.22.0 has at least one vulnerability with moderate severity.
6.21.0 62,459,199 7/1/2022 6.21.0 has at least one vulnerability with moderate severity.
6.20.0 7,367,498 6/21/2022 6.20.0 has at least one vulnerability with moderate severity.
6.19.0 17,322,117 6/6/2022 6.19.0 has at least one vulnerability with moderate severity.
6.18.0 5,634,943 5/19/2022 6.18.0 has at least one vulnerability with moderate severity.
6.17.0 15,854,611 4/6/2022 6.17.0 has at least one vulnerability with moderate severity.
6.16.0 16,593,343 2/18/2022 6.16.0 has at least one vulnerability with moderate severity.
6.15.1 53,670,835 1/20/2022 6.15.1 has at least one vulnerability with moderate severity.
6.15.0 15,207,084 12/3/2021 6.15.0 has at least one vulnerability with moderate severity.
6.14.1 8,664,291 11/4/2021 6.14.1 has at least one vulnerability with moderate severity.
6.14.0 957,549 10/29/2021 6.14.0 has at least one vulnerability with moderate severity.
6.13.1 11,104,576 10/7/2021 6.13.1 has at least one vulnerability with moderate severity.
6.12.2 25,145,972 8/20/2021 6.12.2 has at least one vulnerability with moderate severity.
6.12.1 5,203,108 8/13/2021 6.12.1 has at least one vulnerability with moderate severity.
6.12.0 6,646,870 7/21/2021 6.12.0 has at least one vulnerability with moderate severity.
6.11.1 24,109,453 5/21/2021 6.11.1 has at least one vulnerability with moderate severity.
6.11.0 3,927,233 4/27/2021 6.11.0 has at least one vulnerability with moderate severity.
6.10.2 9,848,532 4/15/2021 6.10.2 has at least one vulnerability with moderate severity.
6.10.1 1,086,913 4/12/2021 6.10.1 has at least one vulnerability with moderate severity.
6.10.0 134,498,425 3/30/2021 6.10.0 has at least one vulnerability with moderate severity.
6.9.0 2,427,575 3/16/2021 6.9.0 has at least one vulnerability with moderate severity.
6.8.0 211,381,420 10/13/2020 6.8.0 has at least one vulnerability with moderate severity.
6.7.2-preview-10803222715 61,592 8/4/2020 6.7.2-preview-10803222715 has at least one vulnerability with moderate severity.
6.7.1 85,503,362 6/30/2020 6.7.1 has at least one vulnerability with moderate severity.
6.6.0 8,366,963 5/22/2020 6.6.0 has at least one vulnerability with moderate severity.
6.5.1 4,985,514 4/28/2020 6.5.1 has at least one vulnerability with moderate severity.
6.5.0 12,685,299 3/24/2020 6.5.0 has at least one vulnerability with moderate severity.
5.7.0 1,186,661 1/9/2024
5.6.0 144,810,066 10/19/2019 5.6.0 has at least one vulnerability with moderate severity.
5.5.0 207,404,347 6/24/2019 5.5.0 has at least one vulnerability with moderate severity.
5.4.0 106,632,993 1/23/2019 5.4.0 has at least one vulnerability with moderate severity.
5.3.0 68,574,306 10/5/2018 5.3.0 has at least one vulnerability with moderate severity.
5.2.4 26,990,389 6/19/2018 5.2.4 has at least one vulnerability with moderate severity.
5.2.2 25,706,218 4/24/2018 5.2.2 has at least one vulnerability with moderate severity.
5.2.1 18,095,921 2/8/2018 5.2.1 has at least one vulnerability with moderate severity.
5.1.5 4,510,993 11/17/2017 5.1.5 has at least one vulnerability with moderate severity.
5.1.4 25,286,624 6/12/2017 5.1.4 has at least one vulnerability with moderate severity.
5.1.3 3,425,045 2/28/2017 5.1.3 has at least one vulnerability with moderate severity.
5.1.2 13,147,486 1/11/2017 5.1.2 has at least one vulnerability with moderate severity.
5.0.0 2,443,095 6/27/2016 5.0.0 has at least one vulnerability with moderate severity.
4.0.4.403061554 15,005,607 3/7/2017 4.0.4.403061554 has at least one vulnerability with moderate severity.
4.0.4.402070948 293,069 2/7/2017 4.0.4.402070948 has at least one vulnerability with moderate severity.
4.0.3.308261200 3,061,297 8/31/2016 4.0.3.308261200 has at least one vulnerability with moderate severity.
4.0.2.206221351 14,495,416 6/23/2015 4.0.2.206221351 has at least one vulnerability with moderate severity.
4.0.2.205111437 941,165 5/11/2015 4.0.2.205111437 has at least one vulnerability with moderate severity.
4.0.2.202250711 690,060 2/25/2015 4.0.2.202250711 has at least one vulnerability with moderate severity.
4.0.1 1,278,403 11/3/2014 4.0.1 has at least one vulnerability with moderate severity.
4.0.0 9,687,327 8/19/2014 4.0.0 has at least one vulnerability with moderate severity.
3.0.2 788,641 1/31/2014 3.0.2 has at least one vulnerability with moderate severity.
3.0.1 37,178 1/22/2014 3.0.1 has at least one vulnerability with moderate severity.
3.0.0 108,375 12/18/2013 3.0.0 has at least one vulnerability with moderate severity.
1.0.0 1,236,467 6/7/2013 1.0.0 has at least one vulnerability with moderate severity.