stevenarella
stevenarella copied to clipboard
Can't log in on invalid token (ForbiddenOperationException: Invalid token)
After changing from offline to online mode (invalidating the token), the client refuses to login.
Discarding the token when you receive the invalid token (or maybe a prompt to do so?) should fix this.
This may also be good UI option for offline mode #152 #290 by splitting login button into two boxes: discard token and offline mode.
I've noticed this too. Workaround is to remove the auth_token
from conf.cfg. I think a good fix would be to automatically refresh the token upon ForbiddenOperationException: Invalid token (unclear why it doesn't do this already, maybe a bug/regression from other changes).
Related (but not the same): https://github.com/iceiix/stevenarella/issues/164 -s/--server argument skips auth token refresh, can cause 'protocol error: Failed to auth with server' if expires