I am trying to do export from slides to pdf using service account.
Is there any way to export that file unless using OAuth 2.0 client?
supportsAllDrives=true
Usually this option is not necessary as long as the file is explicitly shared with the service account. However, if you are running into any issues you can do is to use impersonation .
This means that the service acocunt can autenticate as you (or any other domain-user) and perform requests on behalf of this user.
This will allow the service account to access files on your Drive as if it were the owner of those files.
To set up a service account - follow the steps specified in the documentation.
Most important:
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.