I have two Google Apps Scripts in my Google Apps account. Both have been published as webapps with the following settings.
Script A:
Execute as me
Who has access to the web app:Anyone within XXXXXXX.com
Script B:
Execute as the user accessing the app
Who has access to the web app:Anyone within XXXXXXX.com
I want to have Script B use UrlFetchApp to execute Script A. How do I authenticate Script B to Script A?
Note:
Script A is being used to get\write data from\to a spreadsheet that only I have access. Since my Google Apps domain administrator does not allow sharing outside the domain, I can not set anonymous access to the web app.