Commit 21ec58c
[.NET 10] Add .NET MAUI Blazor Hybrid sample using Entra workforce ID
Add a complete .NET MAUI Blazor Hybrid + ASP.NET Core Web App sample
that authenticates against a Microsoft Entra workforce (business)
tenant using MSAL.NET and Microsoft.Identity.Web.
Three projects:
- MauiBlazorWebEntraWorkforce: MAUI app (Android, iOS, Mac Catalyst, Windows)
- MauiBlazorWebEntraWorkforce.Shared: Razor Class Library with shared UI
- MauiBlazorWebEntraWorkforce.Web: ASP.NET Core Blazor Server web app + API
Includes:
- Interactive setup/teardown PowerShell scripts for Azure app registrations
- Dual auth: OIDC+Cookie for web, JWT Bearer for MAUI API calls
- WAM broker integration on Windows for SSO
- Mac Catalyst workaround using ASWebAuthenticationSession
- SecureStorage token cache persistence on Windows and Mac Catalyst
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent f4d75ca commit 21ec58c
128 files changed
Lines changed: 63437 additions & 0 deletions
File tree
- 10.0/MauiBlazorWebEntraWorkforce
- MauiBlazorWebEntraWorkforce.Web
- Components
- Account
- Layout
- Pages
- Properties
- Services
- MauiBlazorWebEntraWorkforce
- Components
- Layout
- Pages
- Platforms
- Android
- Resources/values
- MacCatalyst
- Windows
- iOS
- Properties
- Resources
- AppIcon
- Fonts
- Images
- Raw
- Splash
- Services
- wwwroot
- scripts
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
0 commit comments