-
Notifications
You must be signed in to change notification settings - Fork 23
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
Need help with initial access token. #34
Comments
same for me, in my own plugin, which was running PERFECTLY for months, now i get a missing token exception when doing a credentials = self._auth.get_credentials(code)
2019-04-14 07:46:47 ERROR plugins.withings_health Plugin 'withings_health_withings_health_rene': An error occurred, perhaps code parameter is invalid or too old? Message: (missing_token) M |
It looks like at least these requirements are "hard": requests-oauth>=0.4.1,<0.5 While i can update requests to 2.21 When upgrading oauth to a non supported version, the library breaks in the sense of my error described above.. With these versions all is working well now! added info to my plugin! |
Any update on this? @psilo909 I am running requests-ouath 0.4.1 and requests-oauthlib 1.0.0 and still getting this error with the following code
|
Any update? As of today I am getting this error too. I am running the following requests:
This was working, but the token expired and then I am getting the error
Any help appreciated |
@stuwilkins I unfortunately had to figure this out on my own after several hours of trial and error... It was about half a year ago though so I don't recall EXACTLY what the error was - but I recall there were a few 'ah-ha' moments... Here are all the basic functions I am using, hope they can help you out:
|
Thanks for the code @ethanopp I will look this weekend and see if I can get it to work. |
I am getting TokenMissing error while trying to execute auth.get_authorize_url( redirect_uri)
And apparently withings has depreciated OAuth1 and moved to OAuth2.
But get_authorize_url still uses OAuth1Session?
The text was updated successfully, but these errors were encountered: