diff --git a/DeepDrftManager/Program.cs b/DeepDrftManager/Program.cs index 5e57c51..423a3ac 100644 --- a/DeepDrftManager/Program.cs +++ b/DeepDrftManager/Program.cs @@ -34,6 +34,10 @@ var contentApiUrl = builder.Configuration["Api:ContentApiUrl"] ?? throw new InvalidOperationException("Api:ContentApiUrl is required"); AuthBlocksWeb.Startup.ConfigureAuthServices(builder.Services, contentApiUrl); +// Per-circuit bridge consumed by the AuthBlocks ModelView component (Users/Registrations pages). +// ModelView has a required [Inject] of this type; without it the circuit throws on component init. +builder.Services.AddScoped(); + // Named HttpClient for unauthenticated Content API calls (CmsTrackService proxying WAV data // to DeepDrftAPI's POST api/track/upload). API key added per-request by the service. builder.Services.AddHttpClient("DeepDrft.Content", client =>