can't find developer.gserviceaccount for gmail

点点圈 提交于 2020-01-04 00:05:51

问题


I was reading the google documentation about setting up access to post requests to the google server.

Using OAuth 2.0 for Server to Server Applications

{
  "iss":"761326798069-r5mljlln1rd4lrbhg75efgigp36m78j5@developer.gserviceaccount.com",
  "scope":"https://www.googleapis.com/auth/devstorage.readonly",
  "aud":"https://www.googleapis.com/oauth2/v3/token",
  "exp":1328554385,
  "iat":1328550785
}

The iss is the service account name of developer.gserviceaccount.com

However, when I created my service account it came out to be of a format of iam.gserviceaccount.com

How do I use it to post requests and link it to the oauth 2.0 client id?

Thank you

来源:https://stackoverflow.com/questions/33990854/cant-find-developer-gserviceaccount-for-gmail

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!