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

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.


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
 */

That's something that happens. To solve the issue just copy the contents of your Script, delete it, and create a brand new one with the same contents, or give it another name in case you are superstitious. If that doesn't work, create another Spreadsheet with the same contents and proceed. Sometimes it's just a temporary issue. Perhaps the problem persists due to the stored browsing data, so it would be convenient to clear it. (I challenge you to take this last move!)