Slogger icon indicating copy to clipboard operation
Slogger copied to clipboard

Fitbit has stopped working..

Open bprimal opened this issue 8 years ago • 1 comments

["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?

bprimal avatar Aug 03 '16 16:08 bprimal

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.

soleblaze avatar Aug 14 '16 03:08 soleblaze