You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In this case, I need to see two permissions being granted on OAuth consent screen but if I include write permission, it always shows the following screenshot (Add to physical activity, so it means write not read):
At this point, I tried to debug the code. As far as I debugged the code your code was fine and it was trying to build permissions according to the passed parameters through the react bridge. I found that FitnessOptions.builder.addDataType will always respect write permission for steps when I try to add also read permission. When you call getImpliedScopes() you can see that it only shows write scope as you can see in the attached screenshot:
I would really appreciate it if you can fix the problem or help me with what's going wrong. I couldn't make it work to set both read and write scope even manually. I can only set read scope when I delete write access.
The text was updated successfully, but these errors were encountered:
matinzd
changed the title
Consent screen showing wrong scopes
OAuth Consent screen showing wrong scopes
Jan 31, 2022
What is the problem?
I am trying to request these permissions:
In this case, I need to see two permissions being granted on OAuth consent screen but if I include write permission, it always shows the following screenshot (Add to physical activity, so it means write not read):
At this point, I tried to debug the code. As far as I debugged the code your code was fine and it was trying to build permissions according to the passed parameters through the react bridge. I found that
FitnessOptions.builder.addDataType
will always respect write permission for steps when I try to add also read permission. When you callgetImpliedScopes()
you can see that it only shows write scope as you can see in the attached screenshot:I would really appreciate it if you can fix the problem or help me with what's going wrong. I couldn't make it work to set both read and write scope even manually. I can only set read scope when I delete write access.
The text was updated successfully, but these errors were encountered: