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.
Showing the top 20 packages that depend on Duende.IdentityModel.OidcClient.
| Packages |
|---|
|
Api.Ag.Client
net 8 Client für RestApi Gerstner
|
|
Api.Ag.Client
net 9 Client für RestApi Gerstner
|
|
Api.Ag.Client
net 10 Client für RestApi Gerstner
|
|
Api.Ag.Client.Extensions
IServiceCollection Extensions für Api Client Gerstner
|
.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 | Last updated |
|---|---|
| 7.0.0 | 12/29/2025 |
| 7.0.0-rc.1 | 11/11/2025 |
| 7.0.0-preview.2 | 11/5/2025 |
| 7.0.0-preview.1 | 11/7/2025 |
| 6.0.1 | 11/5/2025 |
| 6.0.0 | 11/5/2025 |
| 6.0.0-rc.1 | 11/6/2025 |