Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

"Sign in with Google temporarily disabled for this app" error when trying to authorize a script

I am trying to run this simple Google Script.

However, it does not allow me to authorise. How can I proceed?

animation showing the sign-in disabled error

like image 513
orschiro Avatar asked Nov 27 '19 12:11

orschiro


2 Answers

Update 1:

  • As reported by Rubén, Google says it won't fix this - #163
  • Some workarounds are provided in #76, #145 and #150 - showing solutions like changing GCP and providing a oauth consent screen.

Update:

Switching Google cloud project from default to a standard project have resolved the issue for some users. This is still a workaround and may not work for all. Therefore, star the issue below.


This seems to be a new issue affecting certain users. You can ★(on top left) star the issue here to let Google developers know that you're affected by this issue and to prioritize the issue.

like image 149
TheMaster Avatar answered Sep 29 '22 04:09

TheMaster


It stopped complaining once I specified the script only needed access to the current sheet. Google explains how to do it here.

All you need to add to your code is this JsDoc annotation:

/**
 * @OnlyCurrentDoc
 */
like image 29
Emma Avatar answered Sep 29 '22 04:09

Emma