Google Web应用程序脚本一直要求用户登录?

时间:2016-04-28 00:05:03

标签: google-apps-script

我创建了我的脚本,效果很好。我已经更改了共享,因此任何人都可以查看它,但它仍然要求用户登录他们的Google帐户来运行该脚本。

以下是链接:My script

1 个答案:

答案 0 :(得分:3)

目前,您的网络应用设置为User accessing the web app执行。这意味着他们需要登录Google帐户才能执行您应用中的任何代码。

您需要将此设置更改为:执行应用为:Me 以及将Who has access to the appAnyone更改为Anyone even anonymous

示例:

enter image description here

可以通过单击Apps Script IDE工具栏中的云图标找到该设置。 enter image description here

编辑:添加新图像以反映正确的设置。

相关问题