简体   繁体   中英

google api service account Access user task list

I have a gmail user and I created a service account with that user.

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.

Do I need to somehow tell it to access the actual user tasks?

您可能需要OAuth客户端才能访问用户的任务列表,而不是服务帐户: https//developers.google.com/identity/protocols/OAuth2UserAgent

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM