Merge p19-w3-editmodal-holder into dev (register EditModalSaveContextHolder so AuthBlocks Users/Registrations pages render)
This commit is contained in:
@@ -34,6 +34,10 @@ var contentApiUrl = builder.Configuration["Api:ContentApiUrl"]
|
|||||||
?? throw new InvalidOperationException("Api:ContentApiUrl is required");
|
?? throw new InvalidOperationException("Api:ContentApiUrl is required");
|
||||||
AuthBlocksWeb.Startup.ConfigureAuthServices(builder.Services, contentApiUrl);
|
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<Web.Maintenance.Entities.EditModalSaveContextHolder>();
|
||||||
|
|
||||||
// Named HttpClient for unauthenticated Content API calls (CmsTrackService proxying WAV data
|
// 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.
|
// to DeepDrftAPI's POST api/track/upload). API key added per-request by the service.
|
||||||
builder.Services.AddHttpClient("DeepDrft.Content", client =>
|
builder.Services.AddHttpClient("DeepDrft.Content", client =>
|
||||||
|
|||||||
Reference in New Issue
Block a user