05-16-2023 04:10
05-16-2023 04:10
Hello Community, I am looking for the Web API that will return list of permission allowed by the users.
While connecting the Fitbit App users can select the permission. I want to get these permissions users have selected.
Answered! Go to the Best Answer.
05-16-2023 11:44
05-16-2023 11:44
Hi @Web-Api
By permissions, I'm assuming you mean the scopes or data types that the user selects during the consent flow. For example, on this screen.
When the user completes the consent flow and your application receives the access token and refresh token, you should also receive the list of scopes the user consented to share. Or, you can call the Introspect endpoint against a valid access token to see the scopes which were consented.
Gordon
05-16-2023 11:44
05-16-2023 11:44
Hi @Web-Api
By permissions, I'm assuming you mean the scopes or data types that the user selects during the consent flow. For example, on this screen.
When the user completes the consent flow and your application receives the access token and refresh token, you should also receive the list of scopes the user consented to share. Or, you can call the Introspect endpoint against a valid access token to see the scopes which were consented.
Gordon