From 07ba8667b2bb2ec52caf40e24bbbf13d04e44d9f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Halil=20=C4=B0brahim=20Kalkan?= Date: Thu, 18 Mar 2021 21:29:13 +0300 Subject: [PATCH] Fix client name. --- templates/app/aspnet-core/.gitignore | 1 + .../IdentityServer/IdentityServerDataSeedContributor.cs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/templates/app/aspnet-core/.gitignore b/templates/app/aspnet-core/.gitignore index be41bac7c1..94d7155bfc 100644 --- a/templates/app/aspnet-core/.gitignore +++ b/templates/app/aspnet-core/.gitignore @@ -259,3 +259,4 @@ src/MyCompanyName.MyProjectName.HttpApi.Host/Logs/* src/MyCompanyName.MyProjectName.HttpApi.HostWithIds/Logs/* src/MyCompanyName.MyProjectName.DbMigrator/Logs/* src/MyCompanyName.MyProjectName.Blazor.Server/Logs/* +src/MyCompanyName.MyProjectName.Blazor.Server.Tiered/Logs/* 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 4001bef5fd..cd8b767d77 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 @@ -209,7 +209,7 @@ namespace MyCompanyName.MyProjectName.IdentityServer * solution. Otherwise, you can delete this client. */ await CreateClientAsync( - name: webClientId, + name: blazorServerTieredClientId, scopes: commonScopes, grantTypes: new[] { "hybrid" }, secret: (configurationSection["MyProjectName_BlazorServerTiered:ClientSecret"] ?? "1q2w3e*").Sha256(),