|
|
|
@ -18,6 +18,7 @@ using MyCompanyName.MyProjectName.Web; |
|
|
|
using StackExchange.Redis; |
|
|
|
using Volo.Abp; |
|
|
|
using Volo.Abp.AspNetCore.Authentication.OAuth; |
|
|
|
using Volo.Abp.AspNetCore.Authentication.OpenIdConnect; |
|
|
|
using Volo.Abp.AspNetCore.MultiTenancy; |
|
|
|
using Volo.Abp.AspNetCore.Mvc.Client; |
|
|
|
using Volo.Abp.AspNetCore.Mvc.Localization; |
|
|
|
@ -51,7 +52,7 @@ namespace MyCompanyName.MyProjectName |
|
|
|
[DependsOn( |
|
|
|
typeof(MyProjectNameWebModule), |
|
|
|
typeof(MyProjectNameHttpApiClientModule), |
|
|
|
typeof(AbpAspNetCoreAuthenticationOAuthModule), |
|
|
|
typeof(AbpAspNetCoreAuthenticationOpenIdConnectModule), |
|
|
|
typeof(AbpAspNetCoreMvcClientModule), |
|
|
|
typeof(AbpAspNetCoreMvcUiBasicThemeModule), |
|
|
|
typeof(AbpAutofacModule), |
|
|
|
@ -155,9 +156,6 @@ namespace MyCompanyName.MyProjectName |
|
|
|
options.Scope.Add("email"); |
|
|
|
options.Scope.Add("phone"); |
|
|
|
options.Scope.Add("MyProjectName"); |
|
|
|
|
|
|
|
options.ClaimActions.MapJsonKey(AbpClaimTypes.UserName, "name"); |
|
|
|
options.ClaimActions.DeleteClaim("name"); |
|
|
|
}); |
|
|
|
} |
|
|
|
|
|
|
|
|