[英]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.