简体   繁体   English

是否可以禁用 G Suite 成员的客户端身份验证(绑定谷歌表脚本)

[英]Is it possible to disable client authentication for G Suite members (bound google sheet script)

I have a bound google sheet script that create google drive folders, I use the sheet as a model, so the users can create new sheet based on that model.我有一个绑定的谷歌工作表脚本,用于创建谷歌驱动器文件夹,我使用工作表作为模型,因此用户可以基于该模型创建新工作表。 The problem is that every time that users create a new sheet they need to re-authentication for the oauth scope, because this is a copy of the original sheet.问题在于,每次用户创建新工作表时,他们都需要对 oauth 范围重新进行身份验证,因为这是原始工作表的副本。

I don't know what to do to cancel the authentication, someone have any idea please?我不知道该怎么做才能取消身份验证,有人知道吗?

All users are member of the same domain (G Suite)所有用户都属于同一个域 (G Suite)

As @Cooper said on the comments:正如@Cooper 在评论中所说:

I think that since the copy is in there drive and not some shared drive then they will have to authenticate it every time they make a new copy.我认为由于副本位于驱动器中而不是某些共享驱动器中,因此他们每次制作新副本时都必须对其进行身份验证。

This is indeed the case.情况确实如此。

Every new copy of the sheet will create a new script, that will need to be authenticated again.工作表的每个新副本都将创建一个新脚本,该脚本需要再次进行身份验证。

The only way to circumvent this is to have your script be triggered in some other fashion, like a G Suite Add-On for instance.避免这种情况的唯一方法是以其他方式触发您的脚本,例如G Suite 附加组件

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 在我的G Suite域中的Google表格中记录工作表用户名时禁用脚本授权 - Disable Script authorization when logging sheet username in Google Sheets within my G suite domain 是否可以将 Google Apps Script Web App 发布到 G Suite Marketplace? - Is it possible to publish a Google Apps Script Web App to G Suite Marketplace? 将独立的Google应用脚本绑定到Google工作表 - bound standalone google app script to google sheet 编写组成员列表以编写 google 脚本 - Write a list of group members to sheet google script 无法识别对绑定的谷歌工作表脚本的更改 - Changes to a bound google sheet script not recognized 使用 Google Apps 脚本发送的 G Suite 电子邮件未发送“邮件已阻止” - G Suite Emails Sent with Google Apps Script Are Not Delivered "Message Blocked" 将 Google Script Addon 发布到 G Suite Marketplace SDK - Publishing Google Script Addon to G Suite Marketplace SDK 事件保存/更新时的 g-suite Google 日历应用程序脚本 - g-suite Google Calender Apps script On Event Save/Update 是否可以从Google Sheet隐藏Google脚本? - Is it possible to hide Google script from google sheet? 如何为以编程方式创建的谷歌表单/工作表编写绑定脚本 - How to write a bound script for a programmatically created google form/sheet
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM