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

Feature request: Token TTL #101

Closed
TheAlexLichter opened this issue Mar 15, 2018 · 5 comments
Closed

Feature request: Token TTL #101

TheAlexLichter opened this issue Mar 15, 2018 · 5 comments

Comments

@TheAlexLichter
Copy link
Member

TheAlexLichter commented Mar 15, 2018

Hey!

Setting a token TTL would be awesome!

Not sure if this is already possible in dev version, but it's not in 4.0.0-rc3.

This feature request is available on Nuxt.js community (#c74)
@robsontenorio
Copy link
Contributor

it solves a problem about "auto refershing tokens"?

@TheAlexLichter
Copy link
Member Author

TheAlexLichter commented Mar 15, 2018

Well, that depends on which kind of auth you use. It'd help with JWT at least because you can update the token before it expires.

@robsontenorio
Copy link
Contributor

robsontenorio commented Mar 15, 2018 via email

@breakingrobot breakingrobot added this to the 4.0 milestone Mar 21, 2018
@breakingrobot breakingrobot removed this from the 4.0 milestone Apr 3, 2018
@robsontenorio
Copy link
Contributor

This PR solve the problem for Oauth2 Scheme.
#188

As mentioned on #172 a similar policy should be implemented for LOCAL Scheme.

@JoaoPedroAS51
Copy link
Collaborator

Closing here, as auth v5 already has this feature.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants