pull/1162/head
Halil ibrahim Kalkan 7 years ago
parent cfb5e6cace
commit ce66211c87

@ -70,6 +70,7 @@ namespace AuthServer.Host
options.ApplicationName = "AuthServer";
});
//TODO: ConnectionMultiplexer.Connect call has problem since redis may not be ready when this service has started!
var redis = ConnectionMultiplexer.Connect(configuration["Redis:Configuration"]);
context.Services.AddDataProtection()
.PersistKeysToStackExchangeRedis(redis, "MsDemo-DataProtection-Keys");

Loading…
Cancel
Save