This commit is contained in:
master
2026-02-23 21:30:15 +02:00
parent e746577380
commit e05d803490
2561 changed files with 116 additions and 1279795 deletions

View File

@@ -908,9 +908,12 @@ if (authorityConfigured)
});
app.UseAuthorization();
app.UseStellaOpsTenantMiddleware();
}
// Tenant middleware runs unconditionally so that .RequireTenant() endpoint
// filters can resolve tenant context from headers even when authority is disabled.
app.UseStellaOpsTenantMiddleware();
// Stella Router integration
app.TryUseStellaRouter(routerEnabled);