Browse Source

updated public and angular application scope requests

pull/67/head
Galip Tolga Erdem 5 years ago
parent
commit
223572ace5
  1. 2
      apps/angular/src/environments/environment.prod.ts
  2. 2
      apps/angular/src/environments/environment.ts
  3. 2
      apps/public-web/src/EShopOnAbp.PublicWeb/EShopOnAbpPublicWebModule.cs

2
apps/angular/src/environments/environment.prod.ts

@ -14,7 +14,7 @@ export const environment = {
redirectUri: baseUrl,
clientId: 'Web',
responseType: 'code',
scope: 'offline_access openid profile email phone AuthServer IdentityService AdministrationService',
scope: 'offline_access openid profile email phone AccountService IdentityService AdministrationService',
},
apis: {
default: {

2
apps/angular/src/environments/environment.ts

@ -13,7 +13,7 @@ export const environment = {
redirectUri: baseUrl,
clientId: 'Web',
//responseType: 'code',
scope: 'offline_access openid profile email phone AuthServer IdentityService AdministrationService',
scope: 'offline_access openid profile email phone AccountService IdentityService AdministrationService',
//requireHttps: true,
},
apis: {

2
apps/public-web/src/EShopOnAbp.PublicWeb/EShopOnAbpPublicWebModule.cs

@ -136,7 +136,7 @@ namespace EShopOnAbp.PublicWeb
options.Scope.Add("role");
options.Scope.Add("email");
options.Scope.Add("phone");
options.Scope.Add("AuthServer");
options.Scope.Add("AccountService");
options.Scope.Add("AdministrationService");
options.Scope.Add("BasketService");
options.Scope.Add("CatalogService");

Loading…
Cancel
Save