Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OAuth consent screen is showing wrong required permissions. #109

Open
castrohenworx opened this issue Jan 14, 2022 · 2 comments
Open

OAuth consent screen is showing wrong required permissions. #109

castrohenworx opened this issue Jan 14, 2022 · 2 comments

Comments

@castrohenworx
Copy link

Hi!
First of all thank you for your library!

In theory everything works fine, but in practice there is a problem with the google compliance. When the consent permission screen appears, the text says something about giving consent to share email address and profile picture instead of the steps we actually want to read.

image

The permissions constant looks like this:

const permissions = [
  {
    kind: Fitness.PermissionKinds.Steps,
    access: Fitness.PermissionAccesses.Read,
  },
];

Everything else works correct, but the consent screen does not allow us to pass the audit done by Google.

I would really appreciate if you could take a look at this issue.

@matinzd
Copy link

matinzd commented Jan 31, 2022

I think It's default behavior from Google. Can you also check if you have this issue as well? #110

@castrohenworx
Copy link
Author

I think It's default behavior from Google. Can you also check if you have this issue as well? #110

We get the above screen no matter what the requirements are.

I wonder why you get the permissions displayed, and we don't.

Also note: In the modal window the message is wrong, but the functionality is actually there. We can access the Google Fit Steps data, but we can not pass through the Google verification process without doing shady things.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants