-
Notifications
You must be signed in to change notification settings - Fork 927
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
Labels
Comments
it solves a problem about "auto refershing tokens"? |
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. |
I have a concret case with KEYCLOAK. After login it responds with access_token and refresh_token (both with expiration property in seconds).
In my scenario the access_token last long five minutes. So, i need to write a axios plugin to intercept every single ajax request in order to check expiration and refresh token, before send a request to backend. Otherwise an exception would be trown.
A built in solution would be nice to handle refresh tokens.
…--
Robson Tenório
Em 15 de mar de 2018, à(s) 14:52, Alexander Lichter <[email protected]> escreveu:
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.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
|
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
Hey!
Setting a token TTL would be awesome!
Not sure if this is already possible in
dev
version, but it's not in4.0.0-rc3
.The text was updated successfully, but these errors were encountered: