Is this handled automatically somehow or should I have a scheduled job that deletes these periodically? I suppose keeping them for audit purposes makes sense but revocation does a hard delete so I don't think that's the intent of this table/entity.
This works for me:
services.AddIdentityServer().AddOperationalStore(options =>
{
options.EnableTokenCleanup = true;
options.TokenCleanupInterval = 3600; // 1 hour
});
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With