r/GoogleAppsScript • u/SleightOfHand87 • Dec 20 '21
Question Getting rid of "Google hasn't verified this app/ Authorization Required"
Hello, so I have been using Google Scripts for some automation tasks at my work, and because the scripts include tasks like copying files from Drive and such, I always get a prompt to give authorization to use my scripts (when running for the first time), where I have to go to the advanced subsection of the verification screen and click "Go to Project (unsafe)" to run the project. While annoying, its not a big problem for me.
The new script I created has been designed for use for my coworkers however, so going through the prompts to verify an "unsafe" app might be unsettling for them, in addition to having them have to go through extra prompts that probably should be handled on my end.
Is there a way to verify my script? Thanks for the help!
1
u/RemcoE33 Dec 21 '21
You can create an internal (private) add-on. This needs to be a standalone script. And you may need to think/change some logic. You also need to deploy this via google cloud. There are some youtube videos out there.
1
u/huleboeren Dec 27 '21
Does your work use consumer Gmails? If they are using paid Workspace accounts then this unsafe warning should not show up.
1
u/LateDay Dec 21 '21
Nope. But you can try and deploy your script as a Web App.