Added by @shcheklein :
See details and workaround here - #10516 (comment)
Failed to authenticate GDrive: "This app is blocked"
Description
When I use DVC commands with a gdrive remote storage configuration, I encounter an issue where it's impossible to authenticate with my Google account.
Reproduce
After initiating the command
dvc get https://github.com/my-data-registry data/samples
a browser window opens for authentication, but upon selecting my Google account, I'm directed to a page displaying 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.
Environment information
Output of dvc doctor:
$ dvc doctor
Platform: Python 3.11.6 on macOS-13.5-arm64-arm-64bit
Subprojects:
dvc_data = 3.15.2
dvc_objects = 5.1.0
dvc_render = 1.0.2
dvc_task = 0.4.0
scmrepo = 3.3.7
Supports:
gdrive (pydrive2 = 1.20.0),
http (aiohttp = 3.10.2, aiohttp-retry = 2.8.3),
https (aiohttp = 3.10.2, aiohttp-retry = 2.8.3)
Config:
Global: /Users/myself/Library/Application Support/dvc
System: /Library/Application Support/dvc
I'm not sure if this is a bug, but any help with this issue would be greatly appreciated!
Added by @shcheklein :
See details and workaround here - #10516 (comment)
Failed to authenticate GDrive: "This app is blocked"
Description
When I use DVC commands with a gdrive remote storage configuration, I encounter an issue where it's impossible to authenticate with my Google account.
Reproduce
After initiating the command
a browser window opens for authentication, but upon selecting my Google account, I'm directed to a page displaying the message:
Environment information
Output of
dvc doctor:I'm not sure if this is a bug, but any help with this issue would be greatly appreciated!
TL;DR:
The DVC app (that is used by default by DVC) is blocked by Google because they changed some policies and we need pass the verifications again. There was nothing bad happening (like security breaches or violations) on our end. There is not easy way to pass it. For now the recommended way (and it was always the recommended way) - is to create a custom app. Here is the link. It's not very complicated and should work just fine for everyone.
Longer version
Tue, Nov 14, 2023 - Google reached out with this message: