https://www.fitbit.com/oauth2/authorize?response_type=code&client_id=#&redirect_uri=#%2F&scope=activity%20heartrate%20settings%20sleep%20oxygen_saturation%20profile%20respiratory_rate&code_challenge=#&code_challenge_method=S256
Here is my URL with 7 scopes added. When I include only 6 scopes, it works fine, but with 7 scopes, one of them gets skipped.
I want to know if Fitbit has a limitation on the number of scopes or if there is a bug on my end.
Fitbit Developers oversee the SDK and API forums. We're here to answer questions about Fitbit developer tools, assist with projects, and make sure your voice is heard by the development team.
Hi @usamaa
You can add all of the scopes in your authorization URL. I'll reach out to you directly to get some more information from you.
Best AnswerI'm still facing the same issue. Can you please help me?
When I select the scopes manually, the last one i select is ignored.
For example ==> if i click on profile's checkbox in the last the it gets ignored.
and if is click on allow all then the settings gets ignored
Here is the URL I am using:
https://www.fitbit.com/oauth2/authorize?response_type=code&client_id=&redirect_uri=https%3A%2F%2Ffit...
Best Answer
Fitbit Developers oversee the SDK and API forums. We're here to answer questions about Fitbit developer tools, assist with projects, and make sure your voice is heard by the development team.
What do you mean by the last checkbox gets ignored?
Best Answer
Fitbit Developers oversee the SDK and API forums. We're here to answer questions about Fitbit developer tools, assist with projects, and make sure your voice is heard by the development team.
How do you know it gets skipped? When you use the /oauth2/token endpoint to exchange the authorization code for the access token and refresh token, do you see all the scopes listed in the response. For example
If you're getting an error when calling the endpoint for sleep, what is the syntax you are calling and the error message received?
Best Answer