Skip to main content
net8.0net9.0net10.0.NETStandard2.0

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

Published
Nov 11, 2025
11mo ago
Total Downloads
3.8M
3,833,605

Install

dotnet add package Duende.IdentityModel.OidcClient --version 7.0.0-rc.1
ProductVersions
.NET
net10.0net8.0net9.0
.NET Standard
netstandard2.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 v7.0.0-preview.2 and v7.0.0-rc.1.

Adoption Assessment

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

This version is marked prerelease. Validate its API and upgrade path before production use.Compatibility metadata lists 4 target frameworks; confirm the exact target used by your application.

Related Guides & Workflows

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