This repository contains samples that demonstrate how to use IdentityModel.OidcClient to create OpenId Connect client applications with a variety of platforms and 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 login with alice/alice
or bob/bob
These samples are no longer maintained because their underlying technology is no longer supported.
- UWP
- Xamarin
- Xamarin Forms
- Xamarin iOS - AuthenticationServices
- Xamarin iOS - SafariServices
- WinForms with WebBrowser (this used the WebBrowser component, which used an ActiveX control to embed Internet Explorer into your application and render the login UI)
- WPF with WebBrowser (similar to Winforms with WebBrowser above, this used the WebBrowser component)