|
|
|
|
@ -148,12 +148,13 @@ public class MyProjectNameWebModule : AbpModule
|
|
|
|
|
options.ResponseType = OpenIdConnectResponseType.CodeIdToken;
|
|
|
|
|
|
|
|
|
|
options.ClientId = configuration["AuthServer:ClientId"];
|
|
|
|
|
options.ClientSecret = configuration["AuthServer:ClientSecret"];
|
|
|
|
|
|
|
|
|
|
options.UsePkce = true;
|
|
|
|
|
options.SaveTokens = true;
|
|
|
|
|
options.GetClaimsFromUserInfoEndpoint = true;
|
|
|
|
|
options.SignOutScheme = "Cookies";
|
|
|
|
|
|
|
|
|
|
options.Scope.Add("role");
|
|
|
|
|
options.Scope.Add("roles");
|
|
|
|
|
options.Scope.Add("email");
|
|
|
|
|
options.Scope.Add("phone");
|
|
|
|
|
options.Scope.Add("MyProjectName");
|
|
|
|
|
|