openiddict /openiddict-core
Flexible and versatile OAuth 2.0/OpenID Connect stack for .NET
★ 5,302⑂ 607👁 128⑃ 1,417● 1,161▤ 95
+1
日增长
+11
周增长
+27
月增长
5,302
stars
607
forks
128
watchers
1,417
prs
1,161
issues
95
releases
README
OpenIddict The OpenID Connect stack you'll be addicted to. What is OpenIddict? OpenIddict aims at providing a versatile solution to implement OpenID Connect client, server and token validation support in .NET applications. [!TIP] While the client, server and token validation features can be used in any ASP.NET 4.6.2+ or ASP.NET Core 2.3+ web application, the client feature can also be used in Android, iOS, Linux, Mac Catalyst, macOS and Windows applications to integrate with OpenIddict-based identity providers or any other OAuth 2.0/OpenID Connect-compliant implementation. OpenIddict fully supports the code/implicit/hybrid flows, the client credentials/resource owner password grants, the device authorization flow and the token exchange grant. OpenIddict natively supports Entity Framework Core, Entity Framework 6 and MongoDB out-of-the-box and custom stores can be implemented to support other providers. -------------- Getting started To implement a custom OpenID Connect server using OpenIddict, read Getting started. Samples demonstrating how to use OpenIddict with the different OAuth 2.0/OpenID Connect flows can be found in the dedicated repository. Developers looking for a simple and turnkey solution are strongly encouraged to evaluate Volo.OpenIddict.Pro, which is based on OpenIddict, supports all the common OAuth 2.0/OpenID Connect flows and offers a powerful applications/scopes management GUI. [!TIP] Looking to integrate with a SAML2P Identity Provider (IDP) or Service Provider (SP)? Rock Solid Knowledge, a sponsor of OpenIddict, is developing a range of identity components to enhance your OpenIddict solution. The first of these is their popular SAML2P component. -------------- Certification Unlike many other identity providers, OpenIddict is not a turnkey solution but a framework that requires writing custom code to be operational (typically, at least an authorization controller), making it a poor candidate for the certification program. While a reference implementation could be submitted as-is, this wouldn't guarantee that implementations deployed by OpenIddict users would be standard-compliant. Instead, developers are encouraged to execute the conformance tests against their own deployment once they've implemented their own logic. [!TIP] The samples repository contains a dedicated sample specially designed to be used with the OpenID Connect Provider Certification tool and demonstrate that OpenIddict can be easily used in a certified implementation. To allow executing the certification tests as fast as possible, that sample doesn't include any membership or consent feature (two hardcoded identities are proposed for tests that require switching between identities). -------------- Resources Looking for additional resources to help you get started with OpenIddict? Don't miss these interesting blog posts: - OpenIddict 7.0 is out by Kévin Chalet - OpenIddict on AWS Serverless: adding interactive login by A
Top issues
#2175Consider supporting backchannel logout12 comments · 2024-09-03#1345Add telemetry support11 comments · 2021-10-30#2404Implement Dynamic Client Registration (RFC 7591/7592) support8 comments · 2025-12-08#2552Implement CIMD1 comments · 2026-09-24#2401Update the server stack to support per-resource-server encryption material1 comments · 2025-11-27#2414Determine whether `redirect_uri` should be an optional token request parameter even when specified in the authorization request0 comments · 2026-01-12#2400Implement OAuth 2.0 Protected Resource Metadata support0 comments · 2025-11-27
Latest release
7.9.0 7.9.0 2026-11-14This release introduces the following changes: - A .NET 11 TFM was added to all the OpenIddict packages. - A vulnerability affecting the validation of authorization entries in the OpenIddict validation stack when token entry validation is not enabled was identified yesterday (thanks @DicksonWu654! ❤️) and fixed. [!CAUTION] Upgrading to OpenIddict 7.9.0 or 8.0.0 preview 6 is strongly advised. See https://github.com/openiddict/openiddict-core/security/advisories/GHSA-cxgj-hwwh-855g for more information. - The OpenIddict.Client.WebIntegration package now supports the Veriqa ser