KeeAnywhere: Google blocks KeeAnywhere
Describe the bug I’m using KeePass2 with KeeAnywhere for years. Yesterday, when I installed it on new device, Google refused to authorize this app. The message translates to:
This application is blocked
This app tried to access sensitive information in your Google account. To make sure your account is safe, we blocked this attempt.
Today when I tried to use KeePass on a laptop I’m using for years, sync failed and when I’ve tried to reauthorize I’ve got the same error.
Environment:
- OS and Version: Windows 10
- KeePass-Version: 2.57 64bit.
- KeeAnywhere-Version: 2.1.0
About this issue
- Original URL
- State: open
- Created 2 years ago
- Reactions: 14
- Comments: 29 (1 by maintainers)
Hi, Since yesterday it hasn’t worked for me. I tried to check again and I get this error. Unfortunately I can’t find where to change the permissions in my Google account.
Restricted access does not solve the problem.
This app is blocked This app attempted to access sensitive information in your Google Account. To protect your account, Google has blocked access.
For me this worked:
This way KeeAnywhere can access this new file and sync changes again.
Tested in Windows 10 KeePass 2.57.1 (64-bit) KeeAnywhere 2.1.0
@bphilippus #393 has been closed but issue still exists. There is new Google Drive Restricted mode, but it is workaround rather than solution of initial problem.
The downside of all of this recommendations switching to restricted Google Drive is that only KeeAnywhere can use the file from the “Save As” action. If you have other clients for example for mobile devices like KeePass2Android etc. it wouldn’t work I guess unless it get’s full access that new file that gets created. Does it even work across multiple computers using KeeAnywhere or are they isolated from each other?
When using Google Drive (restricted), there is no way to save the database to any folder, only to the root of the drive. This is not always convenient.
Yes, that’s normal in the restricted mode.
i tested on like 5x Android Devices working fine! 😉 but on ONLY ONE Windows yet, coz on my Company laptop i “lost” my Admin rights recently can update the Plugin 😨😭 About multiple GMail account i added ALL my Google Accounts to ALL my Android Devices, but i usually use ONE my main GMail account to install Apps & use Apps except GMail App itself which is shared, so I try to keep them kind of separated i don’t share files between even on Gdrive, i just Download then Upload again… Anyway i will try on my other Windows Personal Laptop soon, I was “busy” doing 2x MS Azure EXAMs 😎
Thankfully i can confirm without any “extra” settings - at least for me - its WORKING with KeePass2Android App, i downloaded from GDrive then save as Restricted GDrive on one of my Windows Laptop then just opened from GDrive with KP2Android App! 🤩 I even added new Entry on my Android mobile then opened on Windows it was ‘there’! 😎 I still needs to Test from another Windows, but i guess it will work for sure! 😊 I would have been gone “crazy” if its NOT working i have 4x Windows Laptops & 5x Android Devices 3x Raspberry PIs which using Synced KeePass DB from my GDrive?! 😣😜😁
As of 22/11/2024 at 13:26 I had success using @augustoschnorr method (thank you so much for sharing) on keepass 2.57 and KeeAnywhere 2.1.0. I haven’t tested saving to folders different from the Gdrive root but I believe this kind of saving in not available as of now.
Workaround described on #393 allow to save again on GoogleDrive, but only on root folder (at this time) (and KeeAnywhere is the only app that can update the file… don’t know if multible Desktop KeePass + KeeAnywhere can update the same file). Doesn’t fit my needs of sharing via GoogleDrive between my devices + auto backup on other folder system.
for now, still work on Keepass2Android.