Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8653929
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T14:39:38+00:00 2026-06-12T14:39:38+00:00

My scenario: I’ve got an AppsScript application running as user1 published as a Web

  • 0

My scenario:
I’ve got an AppsScript application running as user1 published as a Web App. In it I’ve implemented doGet().
I’ve got another Appscript application running as user2. I try to do a URLFetch on the published URL and get back a bunch of HTML indicating that the requestor needs to logon.
If I do the same URL fetch from the browser as ‘user2’, the doGet() is accessed perfectly and returns what I need.

It seems you can’t make get (or post – I tried both) HTTP requests between Appscript applications. N.B. Both users are on the same domain and as stated above, it works when user initiated from the browser. It’s like the user’s identity isn’t being passed from App to App.

This is a test case as I’m trying to work out the best way of moving data from one application to another. Google has the ContentService for returning data but I want to push data. Push is best for the architecture I’m considering as there will be several apps (10+) trying to push to the one app at any one time, so scaling is important. The ContentService lends itself to a polling approach which won’t scale if the one app, polls the other 10. Will get timeouts etc. Any tips re: such an architecture appreciated. The other option I’ve got is for the 10 apps to write directly to the ScriptDB attached to the main app. I don’t like this option because the only way to share a ScriptDB is at the project level and every app will be able to see everything in the ScriptDB and there will be no isolation of data at the app level. I realise I’m pushing the boundaries of what’s possible with Appscript and fully expect that as an answer, but with the new offerings in AppScript, Enterprise level customers are considering these approaches for lightweight apps.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T14:39:39+00:00Added an answer on June 12, 2026 at 2:39 pm

    It’s not that you can’t have one script call another (you absolutely can) but that UrlFetchApp, by design, doesn’t pass along the authentication of the user at the keyboard. (The reasons for this are outside the scope of this answer; suffice it to say that they are security-related, common to many app-hosting platforms, and not likely to change anytime soon.) So the only way you can call another script is if the script being called is published as available to anonymous users (which implies that it must be running as the script owner, as Henrique said).

    However, what you want to do is trivially supported by the libraries feature. If script A wants to notify script B of something, and have script B take an action while preserving the user authentication of script A, all you need to do is include B as a library dependency of A and add a function to B that A can call when it wants to push a notification.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Scenario I have an web application which needs some calculations and processing on data.
Scenario: Third party web service returns datetime in two separate fields i.e. date and
Scenario I have got this form: <form action=EditShippingInfo.asp method=POST id=frmShippingInfo> <!-- stuff --> <input
Scenario: web based text game Player A sends request to send 10,000 credits to
Scenario: I have a main layout running. Upon clicking on the help button a
Scenario : Multiple product images, one main image. Currently, I've got 2 tables to
Scenario: An MVC3 app that uses constructor injection to provide services for a given
Scenario: I want to develop an application.The application should be able to connect to
Scenario A SOAP web service provides an interface for retrieving documents and data. Security
Scenario : I have an ASP.NET MVC application developed in Visual Studio 2008. There

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.