Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/jenkins/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Oauth 2.0 用于Chrome打包应用程序的Google Drive API_Oauth 2.0_Google Drive Realtime Api - Fatal编程技术网

Oauth 2.0 用于Chrome打包应用程序的Google Drive API

Oauth 2.0 用于Chrome打包应用程序的Google Drive API,oauth-2.0,google-drive-realtime-api,Oauth 2.0,Google Drive Realtime Api,我遵循快速入门示例,为我的打包应用程序获取oauth设置 为了获得客户机id,他们将localhost端口放在redirect uri字段中,但是由于我没有处理任何本地服务器,我应该在其中放什么来获得客户机id?我没有设置任何url,我所做的只是创建一个清单文件、背景文件并加载解包扩展名。我的打包应用程序只需要Google Drive api就可以从中访问文件。我只是对获取客户id部分感到困惑。非常感谢您提供的任何帮助,不管您怎么说,都可以通过获取客户ID。选择installed applic

我遵循快速入门示例,为我的打包应用程序获取oauth设置

为了获得客户机id,他们将localhost端口放在redirect uri字段中,但是由于我没有处理任何本地服务器,我应该在其中放什么来获得客户机id?我没有设置任何url,我所做的只是创建一个清单文件、背景文件并加载解包扩展名。我的打包应用程序只需要Google Drive api就可以从中访问文件。我只是对获取客户id部分感到困惑。非常感谢您提供的任何帮助

,不管您怎么说,都可以通过获取客户ID。选择installed application作为应用程序类型,从installed application type中选择Chrome应用程序。然后从Chrome extensions菜单中输入应用程序的ID