Service Account User Account

How can I log in to a Google service account with a normal web user interface, such as google drive ?

Now I can only log in using the API using the script.

+7
oauth google-drive-sdk google-oauth google-api service-accounts
source share
1 answer

You can not. A service account is a sudo user type item. Yes, he has a Google account, a Google calendar ... but you can’t access the web interface for the service accounts.

Option / Work Around / Tip:

There is a small workaround. You could give the service account access to your Google account in a directory on your Google drive. Then, when you log into Google Drive, you can see the files. Tip. If you want to be able to interact with files, the service account should also give you access to each of the files in the directory.

You can use files.patch and permissions to achieve this.

+6
source share

All Articles