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

[BUG] This app is blocked #1106

Closed
paour opened this issue Jan 31, 2024 · 7 comments
Closed

[BUG] This app is blocked #1106

paour opened this issue Jan 31, 2024 · 7 comments
Assignees
Labels
duplicate xoauth problems caused by lack of approval to use "sensitive" Gmail API

Comments

@paour
Copy link

paour commented Jan 31, 2024

Expected behaviour

When I trigger a backup, it should complete without error.

Actual behaviour

SMS Backup+ reports the following error: XOAuth authorization error. Please make sure you enabled IMAP in your Gmail account settings..

Play Services on my device displays a notification with the following alert:

Screenshot_20240131-141311

Reproduce by

No response

Android version

11 (2020)

Phone brand

OnePlus

Phone model number

8T

SMS Backup+ version

v1.6β

Messaging app

No response

Other details

No response

@paour
Copy link
Author

paour commented Jan 31, 2024

This looks like the end of the road. Even side-loaded, the app is blocked server-side by Google…

@pataquets
Copy link

@paour #1102 stopped working?

@paour
Copy link
Author

paour commented Feb 11, 2024

@paour #1102 stopped working?

Yes. I've been using app passwords forever because 2FA. I generated a new one when this cropped up, to no avail.

@marclaporte
Copy link

Workaround: use a standard IMAP account (strong password always): https://github.com/jberkel/sms-backup-plus#usage-without-gmail-imap

@kurahaupo
Copy link
Collaborator

kurahaupo commented Feb 13, 2024

"This app is blocked" occurs when an app uses a Google API.

The reason that using IMAP works is that although it's provided by Google, it's not defined by Google.

The IMAP protocol does not transmit any identification of the app, so the server cannot know which app is using the IMAP connection, and can't use that to decide to block it.

So the question is, which Google API is being refused?

(My money would be on the contacts list API; I would test that by changing the default message format to include just the phone number and exclude the person's name.)

@BenJewell
Copy link

Still works fine for me using IMAP. Was getting a lot of errors a couple weeks ago but seems to have resolved itself.

@kurahaupo kurahaupo added xoauth problems caused by lack of approval to use "sensitive" Gmail API duplicate and removed bug labels Apr 15, 2024
@kurahaupo
Copy link
Collaborator

Appears to be a duplicate of #1046

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate xoauth problems caused by lack of approval to use "sensitive" Gmail API
Projects
None yet
Development

No branches or pull requests

6 participants