Duende IdentityModel OIDC Client Samples
Samples of IdentityModel.OidcClient are available on GitHub. Our samples show how to use a OidcClient with a variety of platforms and UI tools, including:
- .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
All samples use a demo instance of Duende.IdentityServer (https://demo.duendesoftware.com) as their OIDC Provider. You can see its source code here.
You can log in with alice/alice or bob/bob
Additional samples
Section titled “Additional samples”No Longer Maintained
Section titled “No Longer Maintained”These samples are no longer maintained because their underlying technology is no longer supported.