Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/frederikprijck/auth0-blazor-wpf

Integrating Auth0 in a Blazor Hybrid application using WPF
https://github.com/frederikprijck/auth0-blazor-wpf

auth0 blazor blazor-hybrid blazor-server dotnet wpf

Last synced: about 2 months ago
JSON representation

Integrating Auth0 in a Blazor Hybrid application using WPF

Awesome Lists containing this project

README

        

# Auth0-Blazor-WPF
Example application to demonstrate how to integrate Auth0 in a [.NET WPF Blazor Hybdrid application](https://learn.microsoft.com/en-us/aspnet/core/blazor/hybrid/tutorials/wpf), using [`IdentityModel.OidcClient`](https://www.nuget.org/packages/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.