Open bprimal opened 8 years ago
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.
["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?