mint-o-badges / badgr-server

Open Badge issuing and management with Django
GNU Affero General Public License v3.0
2 stars 1 forks source link

server: clear access tokens periodically #122

Closed zven closed 1 month ago

zven commented 3 months ago

Access tokens do not ever get deleted at the moment. We should delete them periodically: https://django-oauth-toolkit.readthedocs.io/en/latest/management_commands.html#

zven commented 3 months ago

create cron job that deletes those every night

zven commented 2 months ago

todo: put into separate container

jona159 commented 2 months ago

I switched from cron to supercronic, which is a job runner specifically designed to run in containers. For this, a crontabfile is generated from django_crontab that supercroniccan point to.