Open psaboia opened 1 month ago
I have precisely the same issue.
Same problem
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.
Tue, Nov 14, 2023 - Google reached out with this message:
As part of our commitment to user privacy and security, Google requires developers that use our APIs to demonstrate that their apps comply with our policies. We have identified that your app’s use of Restricted Drive API scopes may require additional verification steps.
DVC app indeed depends on the drive.files
OAuth scope (that gives the full access to all the files / directories in the Google Drive). Since we don't know in advance which directory users would need to use a remote storage + for things like dvc import-url
, dvc import
(if a different remote is used).
Anyways, it would be better to have a more granular permissions. And it seems Google understand this, we also like it. The only issue is that there is no API or any way to let users pick
a specific dir in CLI. Here is the relevant ticket for this. But it's not resolved yet.
So, we kinda stuck in limbo with this a bit - we can't pass verification (since they are requesting a video explainer where it's clear why we need drive.file
), and we can't implement a granular scope management for the default app atm.
I'm open to any ideas on this.
Also a relevant discussion on the rclone
forum - https://forum.rclone.org/t/google-drive-builtin-app-verification/43919/5 .
@shcheklein, thank you for the clarification! We will proceed with the custom app option.
Same problem here
Same problem here
@tharhtetsan Find the answer here - https://github.com/iterative/dvc/issues/10516#issuecomment-2289652067
:angry: google disgraceful policy
Added by @shcheklein :
See details and workaround here - https://github.com/iterative/dvc/issues/10516#issuecomment-2289652067
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!