Efficient Cleaning Up of the Persisted Grant Table
IdentityServer uses a persisted grants table to store reference and refresh tokens. Clean-up code needs to be run periodically to remove expired tokens. The built-in functionality works for small/medium usage, but alternative approaches should be considered for high usage. This article outlines an alternative approach using a SQL stored procedure.
Andrew Clymer
- •
- Job Role
- Director