|
|
@ -312,6 +312,11 @@ public partial class IdentityServerHttpApiHostModule |
|
|
options.Audience = configuration["AuthServer:ApiName"]; |
|
|
options.Audience = configuration["AuthServer:ApiName"]; |
|
|
}); |
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
if (isDevelopment) |
|
|
|
|
|
{ |
|
|
|
|
|
// services.AddAlwaysAllowAuthorization();
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
if (!isDevelopment) |
|
|
if (!isDevelopment) |
|
|
{ |
|
|
{ |
|
|
var redis = ConnectionMultiplexer.Connect(configuration["Redis:Configuration"]); |
|
|
var redis = ConnectionMultiplexer.Connect(configuration["Redis:Configuration"]); |
|
|
|