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
I'm currently working with https://docs.autofleet.io/reference/post-v1-login-refresh API on Mobile app.
The first time I call the login/refresh API, I have used the refreshToken as a parameter (downloaded from the Admin page). I’m currently storing it as a constant in the app. This could lead to problems when the refreshToken expires after about three months.
I also noticed that the documentation suggests saving the new refreshToken from the response to avoid expiration. Yes, I understand, but the issue is that during the first login/refresh call, I am storing the refreshToken (downloaded from Admin) as a constant in the app, which causes the refreshToken to expire after some time.
Is there a way to handle this issue besides having to download a new refreshToken from Admin page?
The text was updated successfully, but these errors were encountered:
joseuride
changed the title
AutoFleet API: RefreshToken expired
AutoFleet API: How to deal with expired refreshToken
Oct 7, 2024
Hi Jose,
I'm afraid that due to security purposes it is not possible to override the current process.
But it shouldn't expire too often as mentioned in the "Managing refresh tokens" instructions, about every 3 months.
Hi team,
I'm currently working with https://docs.autofleet.io/reference/post-v1-login-refresh API on Mobile app.
The first time I call the
login/refresh
API, I have used therefreshToken
as a parameter (downloaded from the Admin page). I’m currently storing it as a constant in the app. This could lead to problems when the refreshToken expires after about three months.I also noticed that the documentation suggests saving the new refreshToken from the response to avoid expiration. Yes, I understand, but the issue is that during the first
login/refresh
call, I am storing the refreshToken (downloaded from Admin) as a constant in the app, which causes the refreshToken to expire after some time.Is there a way to handle this issue besides having to download a new refreshToken from Admin page?
The text was updated successfully, but these errors were encountered: