Microsoft.IdentityModel.Protocols.OpenIdConnect
8.10.0
Prefix Reserved
dotnet add package Microsoft.IdentityModel.Protocols.OpenIdConnect --version 8.10.0
NuGet\Install-Package Microsoft.IdentityModel.Protocols.OpenIdConnect -Version 8.10.0
<PackageReference Include="Microsoft.IdentityModel.Protocols.OpenIdConnect" Version="8.10.0" />
<PackageVersion Include="Microsoft.IdentityModel.Protocols.OpenIdConnect" Version="8.10.0" />
<PackageReference Include="Microsoft.IdentityModel.Protocols.OpenIdConnect" />
paket add Microsoft.IdentityModel.Protocols.OpenIdConnect --version 8.10.0
#r "nuget: Microsoft.IdentityModel.Protocols.OpenIdConnect, 8.10.0"
#addin nuget:?package=Microsoft.IdentityModel.Protocols.OpenIdConnect&version=8.10.0
#tool nuget:?package=Microsoft.IdentityModel.Protocols.OpenIdConnect&version=8.10.0
IdentityModel Extensions for .NET
The IdentityModel Extensions for .NET library provides robust tools to enhance authentication and authorization workflows in your .NET applications. Backed by the Entra team, this library simplifies working with OpenID Connect (OIDC), OAuth2.0, and JSON Web Tokens (JWT) in .NET.
Whether you're building secure APIs, implementing token validation, or managing claims, this library is designed to handle the heavy lifting for you.
Why IdentityModel?
- Widely Adopted: Trusted by thousands of developers to integrate OIDC and OAuth2.0 standards.
- Secure by Design: Built with security as a priority to reduce common vulnerabilities.
- Extensible: Easily extend or customize for advanced use cases.
- Battle hardened: Validates 5+ trillion requests daily, and growing.
Versions
You can find the release notes for each version here. Older versions can be found here.
Version Lifecycle and Support Matrix
See Long Term Support policy for details.
IdentityModel 8.x
Version 8.x
introduces significant updates and improvements:
- Enhanced Performance: Optimized token validation to handle high-throughput scenarios.
- .NET Compatibility: Fully compatible with .NET 9.
🧭LTS: Supported through .NET 9 LTS lifetime: May 12, 2026 + .NET 10 LTS (~3 years).
IdentityModel 7.x
IdentityModel 7x introduced several improvements related to serialization and consistency in the API, which provide a better user experience for developers, as well as full AOT compatibility on .NET, and considerable performance improvements compared to IdentityModel 6x.
🧭LTS: Supported through .NET 8 LTS lifetime: Nov 10, 2026.
⚡Recommendation: Move to 8.x.
IdentityModel 6.x
🧭Deprecated: Support ended with .NET 7 LTS lifetime: May 2024.
⚡Action: Move to 8.x.
IdentityModel 5.x
Not a recommended version
🧭LTS: Supported for Microsoft.Owin.Security.JWT
⚡Action: Move to 8.x.
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
Report a bug or request a feature directly in the GitHub repo.
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.
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
Security Reporting
See SECURITY.md
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. net10.0 was computed. 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. |
.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.IdentityModel.Protocols (>= 8.10.0)
- System.IdentityModel.Tokens.Jwt (>= 8.10.0)
- System.Text.Json (>= 8.0.5)
-
.NETFramework 4.7.2
- Microsoft.IdentityModel.Protocols (>= 8.10.0)
- System.IdentityModel.Tokens.Jwt (>= 8.10.0)
- System.Text.Json (>= 8.0.5)
-
.NETStandard 2.0
- Microsoft.IdentityModel.Protocols (>= 8.10.0)
- System.IdentityModel.Tokens.Jwt (>= 8.10.0)
- System.Text.Json (>= 8.0.5)
-
net6.0
- Microsoft.IdentityModel.Protocols (>= 8.10.0)
- System.IdentityModel.Tokens.Jwt (>= 8.10.0)
-
net8.0
- Microsoft.IdentityModel.Protocols (>= 8.10.0)
- System.IdentityModel.Tokens.Jwt (>= 8.10.0)
-
net9.0
- Microsoft.IdentityModel.Protocols (>= 8.10.0)
- System.IdentityModel.Tokens.Jwt (>= 8.10.0)
NuGet packages (415)
Showing the top 5 NuGet packages that depend on Microsoft.IdentityModel.Protocols.OpenIdConnect:
Package | Downloads |
---|---|
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.AspNetCore.Authentication.JwtBearer
ASP.NET Core middleware that enables an application to receive an OpenID Connect bearer token. This package was built from the source code at https://github.com/dotnet/dotnet/tree/c22dcd0c7a78d095a94d20e59ec0271b9924c82c |
|
Microsoft.AspNetCore.Authentication.OpenIdConnect
ASP.NET Core middleware that enables an application to support the OpenID Connect authentication workflow. This package was built from the source code at https://github.com/dotnet/dotnet/tree/c22dcd0c7a78d095a94d20e59ec0271b9924c82c |
|
Microsoft.Graph.Core
Microsoft Graph Core Client Library implements core functionality used by Microsoft Graph client libraries. |
|
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. |
GitHub repositories (78)
Showing the top 20 popular GitHub repositories that depend on Microsoft.IdentityModel.Protocols.OpenIdConnect:
Repository | Stars |
---|---|
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.
|
|
microsoft/garnet
Garnet is a remote cache-store from Microsoft Research that offers strong performance (throughput and latency), scalability, storage, recovery, cluster sharding, key migration, and replication features. Garnet can work with existing Redis clients.
|
|
chocolatey/choco
Chocolatey - the package manager for Windows
|
|
OrchardCMS/OrchardCore
Orchard Core is an open-source modular and multi-tenant application framework built with ASP.NET Core, and a content management system (CMS) built on top of that framework.
|
|
Azure/azure-sdk-for-net
This repository is for active development of the Azure SDK for .NET. For consumers of the SDK we recommend visiting our public developer docs at https://learn.microsoft.com/dotnet/azure/ or our versioned developer docs at https://azure.github.io/azure-sdk-for-net.
|
|
kurrent-io/KurrentDB
EventStoreDB, the event-native database. Designed for Event Sourcing, Event-Driven, and Microservices architectures
|
|
opserver/Opserver
Stack Exchange's Monitoring System
|
|
aspnet-contrib/AspNet.Security.OAuth.Providers
OAuth 2.0 social authentication providers for ASP.NET Core
|
|
OrchardCMS/Orchard
Orchard is a free, open source, community-focused Content Management System built on the ASP.NET MVC platform.
|
|
Squidex/squidex
Headless CMS and Content Managment Hub
|
|
phongnguyend/Practical.CleanArchitecture
Full-stack .Net 9 Clean Architecture (Microservices, Modular Monolith, Monolith), Blazor, Angular 19, React 19, Vue 3.5, BFF with YARP, NextJs 15, Domain-Driven Design, CQRS, SOLID, Asp.Net Core Identity Custom Storage, OpenID Connect, EF Core, OpenTelemetry, SignalR, Background Services, Health Checks, Rate Limiting, Clouds (Azure, AWS, GCP), ..
|
|
Azure/azure-functions-host
The host/runtime that powers Azure Functions
|
|
scottksmith95/LINQKit
LINQKit is a free set of extensions for LINQ to SQL and Entity Framework power users.
|
|
wiremock/WireMock.Net
WireMock.Net is a flexible product for stubbing and mocking web HTTP responses using advanced request matching and response templating. Based on the functionality from http://WireMock.org, but extended with more functionality.
|
|
aspnet/Security
[Archived] Middleware for security and authorization of web apps. Project moved to https://github.com/aspnet/AspNetCore
|
|
abpframework/abp-samples
Sample solutions built with the ABP Framework
|
|
OfficeDev/Microsoft-Teams-Samples
Welcome to the Microsoft Teams samples repository. Here you will find task-focused samples in C#, JavaScript and TypeScript to help you get started with the Microsoft Teams App!
|
|
Azure/data-api-builder
Data API builder provides modern REST and GraphQL endpoints to your Azure Databases and on-prem stores.
|
|
SteeltoeOSS/Steeltoe
.NET Components for Externalized Configuration, Database Connectors, Service Discovery, Logging and Distributed Tracing, Application Management, Security, and more.
|
|
polterguy/magic
An AI-based Low-Code and No-Code software development automation framework
|
Version | Downloads | Last updated | |
---|---|---|---|
8.10.0 | 18,988 | 5/15/2025 | |
8.9.0 | 728,542 | 4/24/2025 | |
8.8.0 | 1,634,910 | 4/8/2025 | |
8.7.0 | 1,201,839 | 3/21/2025 | |
8.6.1 | 2,349,278 | 3/7/2025 | |
8.6.0 | 629,163 | 2/22/2025 | |
8.5.0 | 1,177,159 | 2/15/2025 | |
8.4.0 | 660,627 | 2/7/2025 | |
8.3.1 | 3,861,331 | 1/17/2025 | |
8.3.0 | 5,540,857 | 12/4/2024 | |
8.2.1 | 3,000,038 | 11/15/2024 | |
8.2.0 | 5,749,081 | 11/2/2024 | |
8.1.2 | 4,804,462 | 10/8/2024 | |
8.1.1 | 442,611 | 10/5/2024 | |
8.0.1 | 17,878,566 | 7/23/2024 | |
8.0.0 | 1,261,862 | 7/16/2024 | |
8.0.0-preview1 | 143,247 | 6/19/2024 | |
7.7.1 | 1,513,707 | 7/20/2024 | |
7.7.0 | 19,700 | 7/18/2024 | |
7.6.3 | 2,177,037 | 7/10/2024 | |
7.6.2 | 1,707,657 | 6/20/2024 | |
7.6.1 | 226,533 | 6/17/2024 | |
7.6.0 | 11,612,291 | 5/28/2024 | |
7.5.2 | 2,137,695 | 5/13/2024 | |
7.5.1 | 7,394,863 | 4/5/2024 | |
7.5.0 | 12,226,543 | 3/27/2024 | |
7.4.1 | 3,062,722 | 3/15/2024 | |
7.4.0 | 4,268,355 | 2/26/2024 | |
7.4.0-preview1 | 3,301 | 2/12/2024 | |
7.3.1 | 6,774,197 | 2/3/2024 | |
7.3.0 | 503,341 | 1/30/2024 | |
7.2.0 | 5,194,515 | 1/10/2024 | |
7.1.2 | 94,704,887 | 1/9/2024 | |
7.0.3 | 24,504,345 | 10/17/2023 | |
7.0.2 | 527,279 | 9/29/2023 | |
7.0.1 | 253,424 | 9/27/2023 | |
7.0.0 | 837,829 | 9/11/2023 | |
7.0.0-preview5 | 339,188 | 9/6/2023 | |
7.0.0-preview4 | 2,259 | 8/29/2023 | |
7.0.0-preview3 | 4,492 | 8/21/2023 | |
7.0.0-preview2 | 2,645 | 8/13/2023 | |
7.0.0-preview | 188,403 | 7/11/2023 | |
6.36.0 | 894,363 | 7/19/2024 | |
6.35.1 | 75,205 | 7/11/2024 | |
6.35.0 | 140,038,326 | 1/9/2024 | |
6.34.0 | 7,332,853 | 10/17/2023 | |
6.33.0 | 3,050,630 | 10/3/2023 | |
6.32.3 | 1,690,139 | 9/5/2023 | |
6.32.2 | 1,556,413 | 8/26/2023 | |
6.32.1 | 2,519,925 | 7/28/2023 | |
6.32.0 | 3,847,900 | 7/12/2023 | |
6.31.0 | 2,014,952 | 6/8/2023 | |
6.30.1 | 1,551,046 | 5/10/2023 | |
6.30.0 | 4,842,590 | 4/26/2023 | |
6.29.0 | 3,001,150 | 4/14/2023 | |
6.28.1 | 408,689 | 4/3/2023 | |
6.27.0 | 4,706,817 | 2/16/2023 | |
6.26.1 | 6,010,369 | 2/7/2023 | |
6.26.0 | 685,508 | 1/20/2023 | |
6.25.1 | 12,171,743 | 12/1/2022 | |
6.25.0 | 4,152,217 | 10/27/2022 | |
6.24.0 | 93,542,977 | 10/13/2022 | |
6.23.1 | 14,283,025 | 9/8/2022 | |
6.23.0 | 88,911 | 9/6/2022 | |
6.22.1 | 442,990 | 8/25/2022 | |
6.22.0 | 8,530,917 | 7/27/2022 | |
6.21.0 | 68,027,436 | 7/1/2022 | |
6.20.0 | 6,398,888 | 6/21/2022 | |
6.19.0 | 6,187,051 | 6/6/2022 | |
6.18.0 | 664,684 | 5/19/2022 | |
6.17.0 | 6,180,583 | 4/6/2022 | |
6.16.0 | 5,608,482 | 2/18/2022 | |
6.15.1 | 60,149,892 | 1/20/2022 | |
6.15.0 | 7,544,936 | 12/3/2021 | |
6.14.1 | 2,818,384 | 11/4/2021 | |
6.14.0 | 470,525 | 10/29/2021 | |
6.13.1 | 549,893 | 10/7/2021 | |
6.12.2 | 21,454,934 | 8/20/2021 | |
6.12.1 | 3,129,500 | 8/13/2021 | |
6.12.0 | 2,924,853 | 7/21/2021 | |
6.11.1 | 7,153,348 | 5/21/2021 | |
6.11.0 | 733,719 | 4/27/2021 | |
6.10.2 | 1,926,371 | 4/15/2021 | |
6.10.1 | 775,904 | 4/12/2021 | |
6.10.0 | 173,622,757 | 3/30/2021 | |
6.9.0 | 306,728 | 3/16/2021 | |
6.8.0 | 230,956,087 | 10/13/2020 | |
6.7.2-preview-10803222715 | 8,431 | 8/4/2020 | |
6.7.1 | 70,603,302 | 6/30/2020 | |
6.6.0 | 1,030,687 | 5/22/2020 | |
6.5.1 | 754,606 | 4/28/2020 | |
6.5.0 | 9,175,930 | 3/24/2020 | |
5.7.0 | 976,752 | 1/9/2024 | |
5.6.0 | 115,931,590 | 10/19/2019 | |
5.5.0 | 211,388,545 | 6/24/2019 | |
5.4.0 | 4,288,091 | 1/23/2019 | |
5.3.0 | 42,670,671 | 10/5/2018 | |
5.2.4 | 2,364,686 | 6/19/2018 | |
5.2.2 | 1,919,930 | 4/24/2018 | |
5.2.1 | 7,651,345 | 2/8/2018 | |
2.1.5 | 1,390,400 | 11/17/2017 | |
2.1.4 | 25,577,935 | 6/12/2017 | |
2.1.3 | 195,499 | 2/28/2017 | |
2.1.2 | 2,424,272 | 1/11/2017 | |
2.0.0 | 1,494,119 | 6/27/2016 |