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
Right now, we check whether we should refresh token or not when "loading", but this can cause a problem.
For example, if "loading" happen at 15 minutes before access token is expired, we don't refresh token (we refresh token 10 minutes before expiration). If I stay at the website for more than 15 minutes, the access token will be expired. Of course, the user can refresh token by reloading page, but I think it's better if the application can refresh token automatically when it find out that the access token is expired.
The text was updated successfully, but these errors were encountered:
JasonLaw1994
changed the title
Add an "Automatically refresh token" function
Add a "refresh token automatically" function
Mar 5, 2019
Right now, we check whether we should refresh token or not when "loading", but this can cause a problem.
For example, if "loading" happen at 15 minutes before access token is expired, we don't refresh token (we refresh token 10 minutes before expiration). If I stay at the website for more than 15 minutes, the access token will be expired. Of course, the user can refresh token by reloading page, but I think it's better if the application can refresh token automatically when it find out that the access token is expired.
The text was updated successfully, but these errors were encountered: