identity: add automatic expired token cleanup in prod

This commit is contained in:
Abdullah Atta
2023-01-16 13:30:34 +05:00
parent ad03e9d6f0
commit 40ea0ab6b6
+6
View File
@@ -110,6 +110,12 @@ namespace Streetwriters.Identity
.AddOperationalStore(options =>
{
options.ConnectionString = connectionString;
}, (options) =>
{
#if !DEBUG
options.Enable = true;
options.Interval = 3600;
#endif
})
.AddConfigurationStore(options =>
{