Commit 967aa2d
committed
Add admin-configurable Microsoft/Google external auth
- Add Microsoft and Google OAuth provider support via new NuGet packages
- Store provider credentials/enabled flags in Azure Table Storage
- Add AuthenticationSettingsService and AuthProviderConfig model
- Add AuthenticationSettings singleton for login button visibility
- Add ExternalLoginService for linking external logins to local users
- Conditionally register external auth schemes in Program.cs at startup
- Extend AccountController with external login/callback endpoints
- Update Login.razor to show provider buttons when configured
- Add Authentication tab to AdminHome.razor for runtime config
- Only allow external login for users with pre-existing local accounts
- No DB schema changes; uses existing AspNetUserLogins table
- Add docs/ExternalAuthenticationProvidersPlan.md with full plan and security notes1 parent cfec415 commit 967aa2d
13 files changed
Lines changed: 1432 additions & 2 deletions
File tree
- docs
- src/BlazorOrchestrator.Web
- Components/Pages
- Account
- Admin
- Constants
- Controllers
- Models
- Services
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
| |||
0 commit comments