简体   繁体   中英

How to publish google apps script to cloud for public?

I have a apps script that uses bigquery service to fetch data from my bigquery account and builds visualizations/tables etc. I publish the app with following options Execute App as: User accessing web app Who has access to this app: Anyone

  1. When I open the link (one ending in exec not dev) in chrome incognito, I expect it to show the web app but it asks for google credentials.
  2. When I entering credentials of my other (different from the one hosting the project) account, I get a permissions error.
  3. I added this other account from my primary one under permissions option of google console - even that wasn't enough.
  4. I had to create a dummy project as this other user to accept the invitation from my primary account. After that the app showed up on this other account.

My question is, how do I publish my app for the consumers (even public) of this info without them having to create dummy project/accept my invite etc?

Thanks

You have two errors:
1) Publish to run as not the user, and 不是用户运行,
2) make it anonymous access. *
People might consume your daily/per second quotas thou.

(*) anonymous access option might not be present if the google apps administrator disabled anonymous sharing in the console.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM