[英]google api service account Access user task list
I have a gmail user and I created a service account with that user. 我有一个gmail用户,我为该用户创建了一个服务帐户。
The user itself has tasklists and I want to access them via the service account. 用户本身有任务列表,我想通过服务帐户访问它们。
However, the lists do not seem to be linked to the service account. 但是,列表似乎与服务帐户无关。 I only get one empty list when querying the tasks api with the service account authentication token.
在使用服务帐户身份验证令牌查询任务api时,我只获得一个空列表。
Do I need to somehow tell it to access the actual user tasks? 我是否需要以某种方式告诉它访问实际的用户任务?
您可能需要OAuth客户端才能访问用户的任务列表,而不是服务帐户: https : //developers.google.com/identity/protocols/OAuth2UserAgent
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.