I have a script which uses OAuth.
When I run the function in the Script Editor, I get the authorize popup and it works fine. But when I run it in the Spreadsheet, nothing happens.
I'm guessing it's something to do with the callback URL? It's set to script.google.com
in the service's ( Xero ) API settings, but Spreadsheets is at docs.google.com
. I tried setting it to docs.google.com
as well, but still nothing happens.
How do I ask for authorization in the Spreadsheet itself without having to do it in the Script Editor?
There is an open issue (677) on that for quite a while... we are all hoping for a solution other than having to open the script editor.
I know it doesn't change anything for you in this case but at least you know you're not alone ;)
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.