Currently after a jwt is invalidated, it is stored in the db. We don't need to track them anymore after their expiration date, so write a postgres function to clear them out. Can possible call a cron job to invoke this function every so often (daily, weekly, etc.).
Currently after a jwt is invalidated, it is stored in the db. We don't need to track them anymore after their expiration date, so write a postgres function to clear them out. Can possible call a cron job to invoke this function every so often (daily, weekly, etc.).