-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Handling of login token: need method to refresh token #100
Comments
You can refresh the token by just logging in again with a username and password :) |
Sure, but then I get #91 |
Well, the token refresh feature will be doing that. I cant find any code in the magister web client which refreshes the token... I think its a better idea to try to fix your error. |
Indeed, the way I would implement this feature would be by relogging in. (which kinda is already slightly supported, or at least it was on v1, I don't remember if I ported it over to v2). |
So there is, as far as you are aware, no way to make a token last longer? Say a couple days or a week? This could allow people to authenticate once and then reuse the token for subsequent logins. However, if the token needs to be "refreshed" every couple hours it would just be a nuisance. I also came across this page a couple days ago, will there be any complications for |
Since version alpha4 it is possible to login using a token. This token however expires after 1 or 2 hours. Is it possible to provide a method that will refresh the token in time (preferably fully automatic :) )?
The text was updated successfully, but these errors were encountered: