项目编号是设置选项卡下的client_id吗?

时间:2017-05-14 19:45:33

标签: javascript google-api google-api-client google-api-js-client

https://console.developers.google.com/iam-admin/settings/project?project=my-Project-ID

我正在尝试将api_key和client_id用于

const authOptions = {
  client_id: `${client_id}.apps.googleusercontent.com`,
  scope: 'profile email https://www.googleapis.com/auth/youtube'
};
window['gapi'].auth2.init(authOptions);

PS:我试图关注this,但现在看来控制台是不同的,没有像之前那样创建client_id的标签

0 个答案:

没有答案