Google App Script One Shot Authentication
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: I'm trying to make my Google App Script/Google Spreadsheet a template. The only problem I'm having is with authentication. If you try to run any of the script it will authenticate itself but I need it to deploy itself as a WebApp. I'm using: function startWebApp () { //Setup the webapp service var service = ScriptApp . getService (); service . enable ( service . Restriction . ALL ); Logger . log ( "WebApp Started" ); } and when I run this from a menu I've created in the spreadsheet, so it has a nice front-end interface, it will ask