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 thought it's a fallout of #617 , but as Ethan says below, likely to be a normal (although rare) case. I had this happen to me in the add location form - the call failed, and didn't get handled well: I didn't get logged out, and the submit button was stuck in 'Submitting' state, which I had no way to reset.
The text was updated successfully, but these errors were encountered:
@wbazant It seems normal that token refresh would fail, since eventually the refresh token expires (or is revoked server-side). Are you not then redirected to the sign in page?
wbazant
changed the title
Renewing an auth token does not work
Bad experience when refresh token expires
Dec 14, 2024
The mechanism to renew a token does not always work. When it's a while since I opened the app, the refresh tries to happen (url like https://fallingfruit.org/api/0.3/user/token/refresh?api_key=AKDJGHSD ) and fails:
401 with "Invalid refresh token"
I thought it's a fallout of #617 , but as Ethan says below, likely to be a normal (although rare) case. I had this happen to me in the add location form - the call failed, and didn't get handled well: I didn't get logged out, and the submit button was stuck in 'Submitting' state, which I had no way to reset.
The text was updated successfully, but these errors were encountered: