Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/identitymodel/identitymodel.oidcclient.samples
https://github.com/identitymodel/identitymodel.oidcclient.samples
oauth2 openid-connect
Last synced: about 13 hours ago
JSON representation
- Host: GitHub
- URL: https://github.com/identitymodel/identitymodel.oidcclient.samples
- Owner: IdentityModel
- License: apache-2.0
- Created: 2016-03-04T20:24:54.000Z (over 8 years ago)
- Default Branch: main
- Last Pushed: 2024-04-25T12:53:20.000Z (7 months ago)
- Last Synced: 2024-04-25T13:56:40.225Z (7 months ago)
- Topics: oauth2, openid-connect
- Language: C#
- Size: 1.09 MB
- Stars: 278
- Watchers: 18
- Forks: 160
- Open Issues: 20
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Samples for IdentityModel.OidcClient
This repository contains samples that demonstrate how to use
[IdentityModel.OidcClient](https://github.com/IdentityModel/IdentityModel) to create
OpenId Connect client applications with a variety of platforms and tools, including
- [.NET MAUI](https://github.com/IdentityModel/IdentityModel.OidcClient.Samples/tree/main/Maui)
- [WPF with the system browser](https://github.com/IdentityModel/IdentityModel.OidcClient.Samples/tree/main/Wpf)
- [WPF with an embedded browser](https://github.com/IdentityModel/IdentityModel.OidcClient.Samples/tree/main/WpfWebView2)
- [WinForms with an embedded browser](https://github.com/IdentityModel/IdentityModel.OidcClient.Samples/tree/main/WinFormsWebView2)
- [Cross Platform Console Applications](https://github.com/IdentityModel/IdentityModel.OidcClient.Samples/tree/main/NetCoreConsoleClient) (relies on kestrel for processing the callback)
- [Windows Console Applications](https://github.com/IdentityModel/IdentityModel.OidcClient.Samples/tree/main/HttpSysConsoleClient) (relies on an HttpListener - a wrapper around the windows HTTP.sys driver)
- [Windows Console Applications using custom uri schemes](https://github.com/IdentityModel/IdentityModel.OidcClient.Samples/tree/main/WindowsConsoleSystemBrowser)All samples use a demo instance of Duende.IdentityServer (https://demo.duendesoftware.com)
as their OIDC Provider. You can see its source code
[here](https://github.com/DuendeSoftware/demo.duendesoftware.com).You can login with `alice/alice` or `bob/bob`
## Additional samples
* [Unity3D](https://github.com/peterhorsley/Unity3D.Authentication.Example)
## No longer maintained
These samples are no longer maintained because their underlying technology is no
longer supported.- [UWP](https://github.com/IdentityModel/IdentityModel.OidcClient.Samples/tree/archived/uwp/Uwp)
- [Xamarin](https://github.com/IdentityModel/IdentityModel.OidcClient.Samples/tree/archived/xamarin/XamarinAndroidClient)
- [Xamarin Forms](https://github.com/IdentityModel/IdentityModel.OidcClient.Samples/tree/archived/xamarin/XamarinForms)
- [Xamarin iOS - AuthenticationServices](https://github.com/IdentityModel/IdentityModel.OidcClient.Samples/tree/archived/xamarin/iOS_AuthenticationServices)
- [Xamarin iOS - SafariServices](https://github.com/IdentityModel/IdentityModel.OidcClient.Samples/tree/archived/xamarin/iOS_SafariServices)
- [WinForms with WebBrowser](https://github.com/IdentityModel/IdentityModel.OidcClient.Samples/releases/tree/archived/webbrowser/WinFormsWebView) (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](https://github.com/IdentityModel/IdentityModel.OidcClient.Samples/releases/tag/tree/archived/webbrowser/WpfWebView) (similar to Winforms with WebBrowser above, this used the WebBrowser component)