Skip to content

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

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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