Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/frederikprijck/auth0-blazor-maui
Integrating Auth0 in a Blazor Hybrid application using MAUI
https://github.com/frederikprijck/auth0-blazor-maui
auth0 blazor blazor-hybrid blazor-server dotnet maui
Last synced: about 1 month ago
JSON representation
Integrating Auth0 in a Blazor Hybrid application using MAUI
- Host: GitHub
- URL: https://github.com/frederikprijck/auth0-blazor-maui
- Owner: frederikprijck
- Created: 2023-05-24T11:44:31.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-05-30T11:31:06.000Z (over 1 year ago)
- Last Synced: 2024-10-16T10:41:52.982Z (3 months ago)
- Topics: auth0, blazor, blazor-hybrid, blazor-server, dotnet, maui
- Language: C#
- Homepage:
- Size: 265 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Auth0-Blazor-MAUI
Example application to demonstrate how to integrate Auth0 in a [.NET MAUI Blazor Hybrid application](https://learn.microsoft.com/en-us/aspnet/core/blazor/hybrid/tutorials/maui), 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 `MauiProgram.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.