Skip to content

Use cron job rather than manual deletion of expired token via endpoint #9

@myndaaa

Description

@myndaaa
  • currently we cleanup expired token manually via admins input through an endpoint called auth/cleanup-expired. This is a bad practice, and a issue in system design and architecture.
  • Proposed solution: we use cron job which would be run periodically to cleanup expired tokens from the database.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions