Add Elsa.Studio.Authentication.ElsaIdentity.UI so the WASM shell renders the login page and redirects unauthenticated users instead of stopping at 'Unauthorized'

This commit is contained in:
Claude
2026-09-02 08:54:17 +00:00
parent 189b8d48c1
commit 0a390f6cc9
2 changed files with 3 additions and 0 deletions

View File

@@ -13,6 +13,7 @@
<PackageReference Include="Elsa.Studio.Core.BlazorWasm" Version="3.7.0" />
<PackageReference Include="Elsa.Studio.Login.BlazorWasm" Version="3.7.0" />
<PackageReference Include="Elsa.Studio.Authentication.ElsaIdentity.BlazorWasm" Version="3.7.0" />
<PackageReference Include="Elsa.Studio.Authentication.ElsaIdentity.UI" Version="3.7.0" />
<PackageReference Include="Elsa.Studio.Workflows" Version="3.7.0" />
<PackageReference Include="Elsa.Studio.Dashboard" Version="3.7.0" />
<PackageReference Include="Microsoft.AspNetCore.Components" Version="9.0.13" />

View File

@@ -4,6 +4,7 @@ using Elsa.Studio.Core.BlazorWasm.Extensions;
using Elsa.Studio.Dashboard.Extensions;
using Elsa.Studio.Extensions;
using Elsa.Studio.Authentication.ElsaIdentity.BlazorWasm.Extensions;
using Elsa.Studio.Authentication.ElsaIdentity.UI.Extensions;
using Elsa.Studio.Login.BlazorWasm.Extensions;
using Elsa.Studio.Login.HttpMessageHandlers;
using Elsa.Studio.Models;
@@ -34,6 +35,7 @@ builder.Services.AddShell();
builder.Services.AddRemoteBackend(backendApiConfig);
builder.Services.AddLoginModule();
builder.Services.AddElsaIdentity();
builder.Services.AddElsaIdentityUI();
builder.Services.AddDashboardModule();
builder.Services.AddWorkflowsModule();