magnific0 / nokia-weight-sync

Get weight from Nokia Health and update in Garmin Connect or Smashrun
GNU General Public License v3.0
71 stars 30 forks source link

update nokia.py get_credentials() #22

Open ossgeek314 opened 4 years ago

ossgeek314 commented 4 years ago

Include 'include_client_id=True' parameter for fetch_token() as nokia's api now requires client_id be sent to receive token

ossgeek314 commented 4 years ago

This would seem to resolve issue #19 (at least it did for me)

Lennart95 commented 4 years ago

This would seem to resolve issue #19 (at least it did for me)

Thanks a lot. That worked for me!

m1lhaus commented 4 years ago

I can confirm, after stepping through OAuth lib I ended up with the same solution. Now it works. Please, @magnific0 merge this ASAP otherwise the setup won't pass.

response: b'{"errors":[{"message":"invalid_request: The client id was not specified in the request"}]}'