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

openScale Sync no longer able to sign in to Google Fit #1106

Open
TheRedWolf opened this issue Jan 18, 2025 · 2 comments
Open

openScale Sync no longer able to sign in to Google Fit #1106

TheRedWolf opened this issue Jan 18, 2025 · 2 comments

Comments

@TheRedWolf
Copy link

Describe the bug
When attempting to sign in to Google Fit (necessary repeatedly due to #895) sign in now fails with the message:

This app is blocked
This app tried to access sensitive info in your Google Account. To keep your account safe, Google blocked this access.

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'openScale Sync'
  2. Check Google Fit status, which will likely be "Google Fit sign in failed".
  3. Go to the menu on the top left corner, then select Google Fit
  4. Ensure sync is enabled, then tap Google sign in.
  5. Screen will darken slightly and a new popup will be displayed with the above error message

** Expected behaviour**

Successful sign-in and syncing to Google Fit

Additional context
The need to sign in repeatedly is partly the cause for this issue being identified. This seems to have existed since 2022 in issue 895 (#895)

Debug log
2025-01-18 12:08:50.241 Debug [2] c: Debug log enabled, openScale sync v0.3.5 (9), SDK 34, samsung SM-S918B
2025-01-18 12:08:52.488 Debug [2] a: Check GoogleFit sync status
2025-01-18 12:08:52.489 Error [2] a: Google sign in expired
2025-01-18 12:08:52.691 Error [2] a: Google Fit sign in failed
2025-01-18 12:08:53.341 Debug [2] a$b: Google sign in button clicked
2025-01-18 12:08:59.265 Error [2] a: Google Fit permission denied
2025-01-18 12:09:02.923 Debug [2] c: openScale version 65 with content provider API version 1
2025-01-18 12:09:02.924 Debug [2] a: openScale version is ok(com.health.openscale)
2025-01-18 12:09:02.929 Debug [2] a: openScale user found(REDACTED)
2025-01-18 12:09:02.929 Debug [2] a: Check GoogleFit sync status
2025-01-18 12:09:02.930 Error [2] a: Google sign in expired
2025-01-18 12:09:02.930 Debug [2] d: Check MQTT sync status
2025-01-18 12:09:02.930 Error [2] a: MQTT sync is disabled
2025-01-18 12:09:02.930 Debug [2] WgerSync: Check Wger sync status
2025-01-18 12:09:02.930 Error [2] a: Wger sync is disabled
2025-01-18 12:09:02.939 Debug [2] c: openScale version 65 with content provider API version 1
2025-01-18 12:09:02.940 Debug [2] a: openScale version is ok(com.health.openscale)
2025-01-18 12:09:03.121 Error [2] a: Google Fit sign in failed
2025-01-18 12:09:04.382 Debug [2] c$a: Debug log disabled

@thekoma
Copy link

thekoma commented Jan 26, 2025

+1

@liutikas
Copy link

I'm seeing the same issue on my Pixel 9

Image

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

3 participants