prasmussen / gdrive

Google Drive CLI Client
MIT License
8.99k stars 1.19k forks source link

unable to access shared drive with service-account #639

Open liljenstolpe opened 2 years ago

liljenstolpe commented 2 years ago

I am trying to use a service-account to authenticate to allow gdrive to create a directory in a shared drive.

I have created the service account, given it domain-wide deligation, and scoped it to gdrive and gdrive auth APIs. I have then added the id of the service account to the shared drive, and the directory I want the directories created in.

When I use gdrive to mkdir with the service account, I get the error that the parent ID isn't found, when I can find it when I auth personally on gdrive, and I can access that drive the ID on a web browser.

Doing things like a list shows no files using the service account, but I do get an info, so I know I am authenticated.

What am I missing?

Thx Christopher

liljenstolpe commented 2 years ago

This may be a case of #623