04-14-2016 19:25
04-14-2016 19:25
Here's the story:
Has anyone tried a similar approach and managed to get it working?
04-29-2016 22:57
04-29-2016 22:57
Have you included 'profile' in your scope?
At first I was just using 'activity' but you probably need 'profile' as well for authorisation:
config.omniauth :fitbit_oauth2, ENV['FITBIT_CLIENT_ID'], ENV['FITBIT_CLIENT_SECRET'], scope: "activity profile"
Works for me.