diff --git a/templates/app/aspnet-core/src/MyCompanyName.MyProjectName.Domain/IdentityServer/IdentityServerDataSeedContributor.cs b/templates/app/aspnet-core/src/MyCompanyName.MyProjectName.Domain/IdentityServer/IdentityServerDataSeedContributor.cs
index cd8b767d77..99c1dc0160 100644
--- a/templates/app/aspnet-core/src/MyCompanyName.MyProjectName.Domain/IdentityServer/IdentityServerDataSeedContributor.cs
+++ b/templates/app/aspnet-core/src/MyCompanyName.MyProjectName.Domain/IdentityServer/IdentityServerDataSeedContributor.cs
@@ -142,15 +142,14 @@ namespace MyCompanyName.MyProjectName.IdentityServer
var configurationSection = _configuration.GetSection("IdentityServer:Clients");
+ //
+
//Web Client
var webClientId = configurationSection["MyProjectName_Web:ClientId"];
if (!webClientId.IsNullOrWhiteSpace())
{
var webClientRootUrl = configurationSection["MyProjectName_Web:RootUrl"].EnsureEndsWith('/');
- /* MyProjectName_Web client is only needed if you created a tiered
- * solution. Otherwise, you can delete this client. */
-
await CreateClientAsync(
name: webClientId,
scopes: commonScopes,
@@ -162,6 +161,8 @@ namespace MyCompanyName.MyProjectName.IdentityServer
corsOrigins: new[] { webClientRootUrl.RemovePostFix("/") }
);
}
+
+ //
//Console Test / Angular Client
var consoleAndAngularClientId = configurationSection["MyProjectName_App:ClientId"];
@@ -180,6 +181,8 @@ namespace MyCompanyName.MyProjectName.IdentityServer
corsOrigins: new[] { webClientRootUrl.RemovePostFix("/") }
);
}
+
+ //
// Blazor Client
var blazorClientId = configurationSection["MyProjectName_Blazor:ClientId"];
@@ -199,6 +202,10 @@ namespace MyCompanyName.MyProjectName.IdentityServer
);
}
+ //
+
+ //
+
//Blazor Server Tiered Client
var blazorServerTieredClientId = configurationSection["MyProjectName_BlazorServerTiered:ClientId"];
if (!blazorServerTieredClientId.IsNullOrWhiteSpace())
@@ -220,6 +227,8 @@ namespace MyCompanyName.MyProjectName.IdentityServer
);
}
+ //
+
// Swagger Client
var swaggerClientId = configurationSection["MyProjectName_Swagger:ClientId"];
if (!swaggerClientId.IsNullOrWhiteSpace())