|
|
|
@ -215,7 +215,9 @@ public class PeisHttpApiHostModule : AbpModule |
|
|
|
context.Services.AddOpenIddict() |
|
|
|
.AddServer(option => |
|
|
|
{ |
|
|
|
option.SetIssuer(new Uri(configuration["AuthServer:IssuerBase"])); |
|
|
|
string issuerBase = configuration["AuthServer:IssuerBase"]; |
|
|
|
if (!string.IsNullOrWhiteSpace(issuerBase)) |
|
|
|
option.SetIssuer(new Uri(issuerBase)); |
|
|
|
option.UseAspNetCore().DisableTransportSecurityRequirement(); |
|
|
|
}); |
|
|
|
|
|
|
|
|