feat(auth): add scheduled auth artifact cleanup

This commit is contained in:
2026-03-29 19:27:38 +08:00
parent 765d4507c9
commit fd2043ba7e
3 changed files with 166 additions and 0 deletions

View File

@@ -19,6 +19,11 @@ JWT_ISSUER=friendolls
JWT_AUDIENCE=friendolls-api
JWT_EXPIRES_IN_SECONDS=3600
# Auth cleanup
AUTH_CLEANUP_ENABLED=true
AUTH_CLEANUP_INTERVAL_MS=900000
AUTH_SESSION_REVOKED_RETENTION_DAYS=7
# Google OAuth
GOOGLE_CLIENT_ID="replace-with-google-client-id"
GOOGLE_CLIENT_SECRET="replace-with-google-client-secret"