Cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to obtain multiple app authorizations

A bunch of us use a google spreadsheet for a workout challenge and we have been pulling activity data, steps and floors. Ever since this change, https://community.fitbit.com/t5/Web-API/September-2016-Web-API-Breaking-Change/m-p/1512744#U1512744, the spreadsheet is not updating and we are seeing these errors:

Truncated server response: {"errors":[{"errorType":"insufficient_permissions","message":"API client is not authorized by the resource owner to access the resource requested.

As per the link,

"Beginning on September 15, 2016, your application will only be able to access the data of the person who authorized your application regardless of the person’s friends’ privacy settings. API requests for a user id other than the user represented in an access token will receive a 401 Unauthorized error."

How can the other users, other than the one who registered this app in the first place, authorize the app?

 

Moderator edit: Updated subject to reference question asked

Best Answer
0 Votes
1 REPLY 1

@pavithra wrote:
How can the other users, other than the one who registered this app in the first place, authorize the app?

Each person can authorize the app by going through the OAuth 2.0 consent flow. This will allow the app to have an OAuth 2.0 access token for each person. The app then makes a request for each person's data using each person's access token.

Best Answer
0 Votes