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

Adjustable duration of expiration of VerificationToken #42107

Open
theronakpatel opened this issue Dec 7, 2023 · 1 comment
Open

Adjustable duration of expiration of VerificationToken #42107

theronakpatel opened this issue Dec 7, 2023 · 1 comment
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap enhancement feature: authentication feature: users and groups

Comments

@theronakpatel
Copy link

How to use GitHub

  • Please use the 👍 reaction to show that you are interested into the same feature.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Is your feature request related to a problem? Please describe.
When invoking the $this->verificationToken->create() method, it consistently sets the expiration for 7 days. However, there is a requirement to configure the token expiry for a different duration, such as 1 day.

Describe the solution you'd like
We can pass expiry time as argument of create() method here

Describe alternatives you've considered

  • N/A

Additional context
We have a requirement to set token expiration at specific intervals, like 15 minutes or 1 day. To address this, I am suggesting an enhancement.

@theronakpatel theronakpatel added 0. Needs triage Pending check for reproducibility or if it fits our roadmap enhancement labels Dec 7, 2023
@joshtrichards joshtrichards changed the title [feature enhancement] The dynamic expiration of VerificationToken Adjustable duration of expiration of VerificationToken Aug 1, 2024
@joshtrichards
Copy link
Member

Can you expand on your use case?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap enhancement feature: authentication feature: users and groups
Projects
None yet
Development

No branches or pull requests

2 participants