Skip to main content
net10.0

RFC8252 compliant and certified OpenID Connect and OAuth 2.0 client library for native applications

Published
Aug 4, 2026
2mo ago
Total Downloads
1.8K
1,823

Install

dotnet add package Duende.Labs.IdentityModel.OidcClient --version 2026.804.6
ProductVersions
.NET
net10.0

README

About Duende.IdentityModel.OidcClient

Duende.IdentityModel.OidcClient is an OpenID Connect (OIDC) client library for native applications. It provides

  • Types that describe OIDC requests and responses
  • Low level methods to construct protocol state and handle responses
  • Higher level methods for
    • Logging in
    • Logging out
    • Retrieving userinfo
    • Refreshing tokens

Samples

Duende.IdentityModel.OidcClient targets .NET Standard, making it suitable for .NET and .NET Framework. It can be used to build OIDC native clients with a variety of .NET UI tools. The samples directory shows how to use it in

  • .NET MAUI
  • WPF with the system browser
  • WPF with an embedded browser
  • WinForms with an embedded browser
  • Cross Platform Console Applications (relies on kestrel for processing the callback)
  • Windows Console Applications (relies on an HttpListener - a wrapper around the windows HTTP.sys driver)
  • Windows Console Applications using custom uri schemes

Documentation

More documentation is available here.

Standards and Certification

Duende.IdentityModel.OidcClient is a certified OpenID Connect relying party implementation, and implements
RFC 8252, "OAuth 2.0 for native Applications".

openid_certified

Related Packages

Feedback

Duende.IdentityModel.OidcClient is released as open source under the Apache 2.0 license. Bug reports and contributions are welcome at the GitHub repository.

Changes from Previous Version

No structural changes between v2026.729.5 and v2026.804.6.

Adoption Assessment

A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.

No SPDX license expression is published. Review the license text and your organisation's policy before redistribution.Compatibility metadata lists 1 target framework; confirm the exact target used by your application.

Related Guides & Workflows

Learn how to evaluate, integrate, or audit this package in your .NET project.