Skip to content

Integrating Auth0 in a Blazor Hybrid application using WPF

Notifications You must be signed in to change notification settings

frederikprijck/auth0-blazor-wpf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Auth0-Blazor-WPF

Example application to demonstrate how to integrate Auth0 in a .NET WPF Blazor Hybdrid application, using IdentityModel.OidcClient.

Configuring Auth0

Ensure to create or use an existing Native application on Auth0, with the following things configured:

  • Allowed Callback URLs: myapp://callback
  • Allowed Logout URLs: myapp://callback

Configuring the application

Provide the correct values for both the Authority and the ClientId in MainWindow.xaml.cs.

  • Authority: Replace with your auth0 domain, including https:// (e.g. https://your-company.us.auth0.com)
  • ClientId: Replace with the client id of the native application in Auth0.