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

Add Expiry for API Tokens #1808

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

kunalsz
Copy link

@kunalsz kunalsz commented Mar 10, 2025

In reference to the issue #1531

Changes made:

  • Token model has been extended by creating ExpiringToken which creates API tokens/keys with an expiry date(default=30days,configurable )
  • New Authentication method ExpiringTokenAuthentication has been created to Authenticate and Validate API tokens/keys
  • Robust tests are created and validated to ensure proper creation and authentication of tokens.

Some work is still left,like integrating api,front end etc

@kunalsz kunalsz changed the title Added Expiry for API Tokens Add Expiry for API Tokens Mar 26, 2025
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.

1 participant