0

Great day to you!.

I have found an issues when open Web App with multiple Gmail accounts logged in as an image attached.

enter image description here

My Web App link: https://script.google.com/macros/u/3/s/AKfycbzKLT0u7rE-hQbdJss2-1J-hyiWirkwUglfk6S8ColrARApgnFAJgyTStDf7pdxLCwp/exec

After several searches on Google and Stack Overflow,

My current findings are:

  1. Sign out all accounts and sign only one account (Google Web App Multiple Google Accounts Error)
  2. Open New Incognito Tab then sign in one account (Google Web App Multiple Google Accounts Error)
  3. Create alert pop-ups(https://sites.google.com/site/scriptsexamples/home/announcements/multiple-accounts-issue-with-google-apps-script)

However, I think it's an extremely better if they can open Web App Link while they are logging in multiple Google accounts.

Therefore, my question is

"How do we open Web App by Google App Script while Google accounts logged in?"

Thank you.

4
  • The script editor and web-apps can be opened when signed-in in multiple accounts but it's true that under certain conditions they might not work as expected. If you are not able to open then your case is different than the one described on the linked page. Please 1) Focus your question in one , the script editor or the web app, 2) add a brief description of your search efforts (this means search this site for similar questions and whenever is possible add a link to the most relevant similar questions) and if your will focus the question in a web-app add a minimal reproducible example.
    – Rubén
    Oct 23, 2021 at 2:29
  • Yes, agree with you Rubén. Thank you for your help :). Have edited as you recommended. Oct 23, 2021 at 2:48
  • Please add a minimal reproducible example (include appscript.json, gs and if used html files)
    – Rubén
    Oct 23, 2021 at 2:51
  • It's about opening an Google App Script, not related to minimal reproducible example. Oct 24, 2021 at 15:22

2 Answers 2

1

This is a well known issue and is filed on Google Issue Tracker

While this issue is being worked on, unfortunately the only feasiable workaround is toUnfortunately is to NOT being signed in with multiple accounts.

I also recommend you to "star" this issue on Issue Tracker to increase the visibility and hopefully accelerate fixing.

0
0

I had a similar problem in the company I work for and we found a way to work around it. Maybe it is the same to you, or it could help someone else.

We had to access to our web app with the company account (g-suite accounts), but some of us had multiple accounts logged in. Basically, we needed to open the web app with a specific account, the one of our company domain.

Our solution was to log out all the accounts and then to start to log them in again, beginning with the account that have to access the web app. In this way, that account became the main account and it can finally open the web app, since they belong to the same domain.

This solved the problem for us.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.