Official
Security & Testing
Integrates secure Auth0 login, logout, and token management into WPF desktop applications using WebView2.
Streamline user authentication in Windows Presentation Foundation (WPF) desktop applications by integrating the Auth0.OidcClient.WPF SDK. This skill guides the configuration of secure OIDC-based login and logout flows using PKCE inside an embedded WebView2 control, eliminating the need for complex custom URL scheme registration in Windows while handling token storage and refresh flows automatically.
Key Features
01Handles automatic token refresh using the offline_access scope
02Uses the streamlined https://{yourDomain}/mobile callback format without Windows registry changes
03Integrates the Auth0.OidcClient.WPF NuGet package with automatic version resolution
04Provides pre-configured WPF XAML and code-behind implementation patterns
05Configures secure OIDC authorization code flow with PKCE using Microsoft Edge WebView2
0638 GitHub stars
Use Cases
01Migrating legacy Windows desktop authentication to Auth0 Universal Login
02Implementing offline access and secure token management in .NET desktop apps
03Adding modern, secure Single Sign-On (SSO) login to a Windows desktop application