frontend styling fixes
This commit is contained in:
@@ -186,8 +186,9 @@ services.AddEndpointsApiExplorer();
|
||||
services.AddHealthChecks();
|
||||
services.AddSingleton(TimeProvider.System);
|
||||
services.AddMemoryCache();
|
||||
services.AddAuthentication();
|
||||
services.AddAuthorization();
|
||||
// Auth is handled by the gateway; bare AddAuthentication()/AddAuthorization()
|
||||
// without registered schemes causes AuthorizationPolicyCache SIGSEGV on startup.
|
||||
// Resource-server auth will be added when Excititor gets [Authorize] endpoints.
|
||||
|
||||
builder.ConfigureExcititorTelemetry();
|
||||
|
||||
@@ -205,8 +206,7 @@ var app = builder.Build();
|
||||
app.LogStellaOpsLocalHostname("excititor");
|
||||
|
||||
app.UseStellaOpsCors();
|
||||
app.UseAuthentication();
|
||||
app.UseAuthorization();
|
||||
// Auth middleware removed -- see service registration comment above.
|
||||
app.TryUseStellaRouter(routerOptions);
|
||||
app.UseObservabilityHeaders();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user