我目前正在开发一个通过 OAuth 客户端 ID 与谷歌表格连接的应用程序,我想知道是否有办法使用服务帐户做同样的事情?
If you are a Google Workspace administrator then yes, you will be able to use domain wide delegation in order to impersonate an user of your domain and allow the service account to make changes on it's behalf. Be aware that the service account will only work with Google Workspace users, it doesn't work with regular @gmail.com accounts. So if your app is considering only Google Workspace users you will be able to do this.
You can check how impersonation works by checking this documentation
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.