Browse Source

Updated data seeder

pull/20/head
Galip Tolga Erdem 4 years ago
parent
commit
e6a40fb0ae
  1. 8
      services/identity/src/EShopOnAbp.IdentityService.HttpApi.Host/DbMigrations/IdentityServerDataSeeder.cs

8
services/identity/src/EShopOnAbp.IdentityService.HttpApi.Host/DbMigrations/IdentityServerDataSeeder.cs

@ -215,10 +215,10 @@ namespace EShopOnAbp.IdentityService.DbMigrations
};
//Public Web Client
var publicWebClientRootUrl = _configuration["IdentityServerClients:EShopOnAbp_PublicWeb:RootUrl"]
var publicWebClientRootUrl = _configuration["IdentityServerClients:PublicWeb:RootUrl"]
.EnsureEndsWith('/');
await CreateClientAsync(
name: "EShopOnAbp_PublicWeb",
name: "PublicWeb",
scopes: commonScopes.Union(new[]
{
"AdministrationService"
@ -233,9 +233,9 @@ namespace EShopOnAbp.IdentityService.DbMigrations
//Angular Client
var angularClientRootUrl =
_configuration["IdentityServerClients:EShopOnAbp_Angular:RootUrl"].TrimEnd('/');
_configuration["IdentityServerClients:Web:RootUrl"].TrimEnd('/');
await CreateClientAsync(
name: "EShopOnAbp_Angular",
name: "Web",
scopes: commonScopes.Union(new[]
{
"IdentityService",

Loading…
Cancel
Save