We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Currently we fresh the token 20 minutes before it expires (https://github.com/zalando-stups/python-tokens/blob/master/tokens/__init__.py#L111). The refresh might fail, but the token is still valid. "tokens.get(..)" should return the still valid token in this case (and log the refresh error).
The text was updated successfully, but these errors were encountered:
This gets another +1, we just ran into lots of 400 bad request/client errors although there is time left
Sorry, something went wrong.
👍 from Frank
#2 return still valid token on failing refresh
6f7c026
#2 apply suggestion by @jmcs
91292f4
Merge pull request #3 from zalando-stups/2-use-valid-token-on-refresh…
4450c15
…-failure #2 return still valid token on failing refresh
Released in https://github.com/zalando-stups/python-tokens/releases/tag/1.0.13
hjacobs
No branches or pull requests
Currently we fresh the token 20 minutes before it expires (https://github.com/zalando-stups/python-tokens/blob/master/tokens/__init__.py#L111). The refresh might fail, but the token is still valid.
"tokens.get(..)" should return the still valid token in this case (and log the refresh error).
The text was updated successfully, but these errors were encountered: