Google应用脚本验证 [英] Google app script verify

查看:143
本文介绍了Google应用脚本验证的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我写了一个插件,然后发布.

I write an add-ons, and publish it.

但是当用户首先打开它时,它将看到:

But when the user open that first, it will see:

它显示此应用未通过验证",我应该如何设置应用的配置来解决该问题?

It show "This app isn't verified", how should i setting my app's configuration to fix it?

推荐答案

此问题已在请求验证文档:

要求

要提交OAuth客户端进行审核和验证,您必须:

In order to submit your OAuth client for review and verification, you must:

拥有域并已验证对Google的所有权,并且 在域中托管一个页面,描述您的应用程序的隐私政策. 您无需通过该域中的帐户发布应用. 步骤

Own a domain and have verified ownership with Google, and Have a page describing your app's privacy policy hosted within the domain. You do not need to publish your app from an account in this domain. Steps

  1. 在Apps脚本编辑器中,选择文件">项目属性">范围". 2.记下脚本项目使用的所有范围.
  2. 确保您可以访问Apps脚本项目的Cloud Platform项目.如果您的项目位于Team Drive中,则必须将其与新的Cloud Platform项目关联. 通过选择资源> Cloud平台项目来访问API控制台...在打开的对话框中,单击顶部链接,该链接通常类似于[脚本名称]-project-id-123456789012.这将打开您脚本的Cloud Platform项目.
  3. 如果找不到左侧导航栏,请单击左上方的菜单图标.
  4. 在导航栏中,选择APIs&服务>凭据.
  5. 在"OAuth同意"屏幕标签上,填写您的隐私权政策网址.该URL必须托管在您拥有的域中.
  6. 在凭据"选项卡上,记下Apps Script OAuth客户端的客户端ID.
  7. 在API控制台的右上角,选择⋮>项目设置.
  8. 记下您的Cloud项目的Project ID.
  9. 提交对您项目的OAuth客户端的审核请求.您将需要记录下的客户ID和项目ID,以及隐私策略URL和应用程序所需的作用域列表.
  1. In the Apps Script editor, select File > Project properties > Scopes. 2. Make a note of all the scopes your script project uses.
  2. Ensure that you have access to the Cloud Platform project for your Apps Script Project. If your project resides in a Team Drive, you must associate it with a new Cloud Platform project. Access the API Console by selecting Resources > Cloud platform project… In the dialog that opens, click the top link, which is typically something like [Script Name] - project-id-123456789012. This opens your script's Cloud Platform project.
  3. If you can't find the left nav bar, click the menu icon in the top left.
  4. In the nav bar, select APIs & services > Credentials.
  5. On the OAuth consent screen tab, fill in your Privacy policy URL. This URL must be hosted in a domain you own.
  6. On the Credentials tab, make a note of the Client ID for the Apps Script OAuth client.
  7. In the upper-right corner of the API Console, select ⋮ > Project settings.
  8. Make a note of the Project ID for your Cloud project.
  9. File a review request of your project’s OAuth client. You'll need the client and project IDs you noted, as well as your privacy policy URL and the list of scopes your app requires.

大多数验证请求会在24到72小时内收到回复.确认您的OAuth客户端的验证后,您的应用即会通过验证.

Most verification requests receive a response within 24 to 72 hours. When verification of your OAuth client is confirmed, your app is verified.

这篇关于Google应用脚本验证的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆