Frequent Authorization Issue

29 views
Skip to first unread message

Quarks Gluon

unread,
Nov 24, 2024, 2:56:16 AM (4 days ago) Nov 24
to Google Apps Script Community
Hello,

I have a app script that is connected to my gcp project that has these scopes:


Allow this application to run when you are not present
https://www.googleapis.com/auth/script.scriptapp
Connect to an external service
https://www.googleapis.com/auth/script.external_request
See, edit, create, and delete all your Google Sheets spreadsheets
https://www.googleapis.com/auth/spreadsheets

This script has a installable trigger that runs it very frequently. This trigger reads from some google sheets and if a condition is met, it hits a web hook with some information. 

As I have it now, this app script requires frequent authorization, about once a day. Is there any way to have this be automated for at least a month, but preferably longer.

George Ghanem

unread,
Nov 25, 2024, 1:34:00 PM (2 days ago) Nov 25
to google-apps-sc...@googlegroups.com
Out of curiosity, why are you using GCP? All of my scripts run outside of it.

Usually Authorizations are only needed once or if lack of activity, may need to be re-authorized after a few months.

I suspect it is something in your Admin settings causing this issue. But since I don't use GCP, can offer you any more guidance.


--
You received this message because you are subscribed to the Google Groups "Google Apps Script Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-script-c...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/google-apps-script-community/9e1c5b64-1396-4f42-857e-1674bddf11c9n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages