Duende.IdentityModel.OidcClient 7.0.0
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".

Related Packages
- Library for claims-based identity, OAuth 2.0, and OpenID Connect: Duende.IdentityModel
- Extensions to this library, including DPoP support: Duende.IdentityModel.OidcClient.Extensions
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.
No packages depend on Duende.IdentityModel.OidcClient.
.NET 8.0
- Duende.IdentityModel (>= 8.0.0)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.0)
.NET 9.0
- Duende.IdentityModel (>= 8.0.0)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.0)
.NET 10.0
- Duende.IdentityModel (>= 8.0.0)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.0)
.NET Standard 2.0
- Duende.IdentityModel (>= 8.0.0)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.0)
- System.Text.Json (>= 10.0.0)
| Version | Downloads | Last updated |
|---|---|---|
| 7.0.0 | 1 | 2025-12-02 |
| 7.0.0-rc.1 | 0 | 2025-11-11 |
| 7.0.0-preview.2 | 0 | 2025-10-16 |
| 7.0.0-preview.1 | 0 | 2025-10-15 |
| 6.0.1 | 0 | 2025-02-22 |
| 6.0.0 | 0 | 2025-02-11 |
| 6.0.0-rc.1 | 0 | 2024-12-20 |