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:
@@ -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" />
|
||||
|
||||
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user