walterpg / google-drive-sync

A KeePass Password Safe v2 plugin for synchronizing passwords to Google Drive files.
GNU General Public License v3.0
198 stars 10 forks source link

Google blocked this access #79

Open Redirts opened 8 months ago

Redirts commented 8 months ago

Describe the bug When doing the google sign-in the first time I get in the browser "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. Install plugin
  2. In Options I selected "Use KeePass Google Sync 3.0 App Credentials
  3. Go to Tools->KPSync For Google drive->Pick any option to upload/download/Sync
  4. Browser opens and I select my Google account
  5. See error

Expected behavior No error

Screenshots image

Please provide the following information:

Additional context Add any other context about the problem here.

lduczmal commented 3 months ago

I have same issue

Please provide the following information: Windows 10 Firefox 128 plugin version: 4.1.0 keepass version: 2.57 (not portable)

NiteBr33d commented 3 months ago

I have same issue.

Please provide the following information:

Windows 11 Brave 4.1.0 2.57 Portable image

I have been using this addon for years and never seen this. Is there any fixes for this?

liteCarma commented 3 months ago

I found a solution

2024-08-08_145339 2024-08-08_145606 2024-08-08_145650 2024-08-08_145759 2024-08-08_145923 2024-08-08_150033

tipitao commented 3 months ago

Hello, I have tried to follow the steps but the screen to select the credentials does not appear....

Greetings

liteCarma commented 3 months ago

Hello, I have tried to follow the steps but the screen to select the credentials does not appear....

Hi. Unfortunately, I don't know how to help. I have done this on several of my computers, it works for me.

tipitao commented 3 months ago

Ok thanks

El dom., 18 ago. 2024 12:29, Denis @.***> escribió:

Hello, I have tried to follow the steps but the screen to select the credentials does not appear....

Hi. Unfortunately, I don't know how to help.

— Reply to this email directly, view it on GitHub https://github.com/walterpg/google-drive-sync/issues/79#issuecomment-2295211169, or unsubscribe https://github.com/notifications/unsubscribe-auth/AI2FXADNS4Y5JM33HQQORDDZSBZQBAVCNFSM6AAAAABEG7YVSGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEOJVGIYTCMJWHE . You are receiving this because you commented.Message ID: @.***>

Redirts commented 3 months ago

Interestingly, I came back here to see if this is solved and I only had to enable "Use limited drive access" and now it is working for me. I don't see any constraints on having activated this option

tipitao commented 3 months ago

Interestingly, I came back here to see if this is solved and I only had to enable "Use limited drive access" and now it is working for me. I don't see any constraints on having activated this option


Hello, can you give some details of what you are talking about? For example, if you have selected something in the plugin settings, an option in the Google account... or something else.

Regards

Redirts commented 3 months ago

Interestingly, I came back here to see if this is solved and I only had to enable "Use limited drive access" and now it is working for me. I don't see any constraints on having activated this option

Hello, can you give some details of what you are talking about? For example, if you have selected something in the plugin settings, an option in the Google account... or something else.

Regards

I am the original creator of this issue. At the time, without the "use limited drive access" option selected I was getting the error indicated in the issue. I then saw @liteCarma's reply and as soon as I just enabled the "use limited drive access" option without doing any of the other steps, the sync started working!

alexeylef commented 3 months ago

I can confirm that simply checking "Enable Legacy OAuth 2.0 Credentials" and "Use limited Drive access" were sufficient to solve the issue. image

liteCarma commented 3 months ago

Interestingly, I came back here to see if this is solved and I only had to enable "Use limited drive access" and now it is working for me. I don't see any constraints on having activated this option

Haha, I guess I made life difficult for myself.

Antherase commented 16 hours ago

I can confirm that simply checking "Enable Legacy OAuth 2.0 Credentials" and "Use limited Drive access" were sufficient to solve the issue. image

This work for me

jecourtney commented 15 hours ago

If, after making the changes to "Enable Legacy.." and "Use limited.." you continue to get:

Client is not authorized for this flow. Error 401: unauthorized_client Request details: flowName=GeneralOAuthFlow

Then, delete the Keepass account KPSync was using and have it re-create on next sync then the above fix will work.