You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 11, 2024. It is now read-only.
@thiagok Even if you technically could, I would argue that you should not. Think about it like this: if you provide a user with an infinitely lasting token, how would you remove access for that token in the future if you needed to? As far as I know, the only way would be to change your application secret, something that would impact all users by invalidating every single token.
Furthermore, I think there is no good reason to hand out infinitely lasting tokens. Having an expiry date (even if it is a year) guarantees nobody will be able to abuse your services infinitely.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I would like to know if there is a way to have an infinite token, so I dont have to refresh the expiration time.
Thanks.
The text was updated successfully, but these errors were encountered: