Reputation: 39
I am a beginning coder, and I am sure I am missing some important knowledge here. I appreciate anyone trying to help me despite my relative ignorance.
I am sharing a google script I wrote by simply sharing the code and showing people how to paste it into the script editor (attached to a Google Form, in this case). When they try to run it they get the following scary warning:
Google hasn’t verified this app The app is requesting access to sensitive info in your Google Account. Until the developer ([user email address]) verifies this app with Google, you shouldn't use it.
I'm not sure why it's being treated differently than if they just wrote the code themselves. All it does is print out the submission in a PDF. It uses these scopes:
https://www.googleapis.com/auth/forms
https://www.googleapis.com/auth/script.scriptapp
https://www.googleapis.com/auth/drive
https://www.googleapis.com/auth/documents
Do I have to verify this as an app? That seems like overkill for just wanted to share a script with someone which they just run in their own account...
Upvotes: 0
Views: 662
Reputation: 1
I'm a complete beginner and hope this will help as it worked for me. This is a common occurrence when you’re running a script, for the 1st time, you’ve created yourself or one shared with you that hasn't been publicly verified. When prompted with the "Google hasn’t verified this app" message, follow these steps: Click "Advanced." Click "Go to [your project name] (unsafe)." Grant the required permissions by clicking "Allow."
Upvotes: 0
Reputation: 50445
I'm not sure why it's being treated differently than if they just wrote the code themselves.
It's not being treated differently. If they wrote code that uses sensitive scopes like auth.drive
, the same warning will show up. However, this doesn't usually show up for paid domain workspace Google accounts.
Upvotes: 1