-
-
Notifications
You must be signed in to change notification settings - Fork 422
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
Refreshing the token after loading it from file #241
Comments
In your second branch of code, you don't set the |
I updated my code:
It still doesn`t seem to work, throwing the following exception:
|
Can you provide the full traceback for that exception? |
|
So the actual exception you're now seeing is Now, looking at the code (I didn't write this section), I feel like this was intended to be an actual warning, rather than an exception. However, in your case, you should provide a token updater: you're persisting tokens out to file, so if they change, you should make sure you update the file appropriately. |
Thank you, |
Hello,
i tried to configure my oauthlib the way, that it automaticly refreshes the token, unfortanatly i can`t seem to get it right after loading my token from a file.
But it just produces the following error:
The text was updated successfully, but these errors were encountered: