Skip to content
This repository has been archived by the owner on Oct 27, 2022. It is now read-only.

Fitbit has stopped working.. #419

Open
bprimal opened this issue Aug 3, 2016 · 1 comment
Open

Fitbit has stopped working.. #419

bprimal opened this issue Aug 3, 2016 · 1 comment

Comments

@bprimal
Copy link

bprimal commented Aug 3, 2016

["errors", [{"errorType"=>"invalid_client", "message"=>"Invalid authorization header format. Visit https://dev.fitbit.com/docs/oauth2 for more information on the Fitbit Web API authorization process."}]]
["success", false]

Looks like oauth2 is no longer working?

@soleblaze
Copy link
Contributor

soleblaze commented Aug 14, 2016

fitbit disabled support for oauth1 and the plugin doesn't support oauth2. oauth2 is a bit of a pain to setup. I modified the module to support oauth2. I'm going to test it out for a few days before I submit a pull request. If you want to test it out, you can grab it here.

slogger_config also needs to be updated, since the parameters have changed. (./slogger --update-config should do this for you)

EDIT: I almost forgot. By default the redirect uri is set to https://localhost:3000 in the plugin. You'll need to either change that to what you put in when you setup the app on dev.fitbit.com or change it on dev.fitbit.com to https://localhost:3000.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants