Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Daily cron for cleaning up expired tokens from db #1837

Merged
merged 6 commits into from
May 24, 2024

Conversation

akhilmhdh
Copy link
Member

Description 📣

  1. Moved audit log pruning to resource clean up queue
  2. Added token clean up logic
  3. Fixed identity token issues found
  4. Resolved client ip failing when using identity token when header is comma seperate ip strings

Type ✨

  • Bug fix
  • New feature
  • Breaking change
  • Documentation

Tests 🛠️

# Here's some code block to paste some code snippets

Copy link
Collaborator

@maidul98 maidul98 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tested access token delete and updated to >=

.andWhere(
              "accessTokenNumUses",
              ">=",
              db.ref("accessTokenNumUsesLimit").withSchema(TableName.IdentityAccessToken)

@maidul98 maidul98 merged commit 4faa9ce into Infisical:main May 24, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants