I know how to write a web-app and publish it as myself. What I am trying to do is publish a web app so that it can access both my data and the users data.
Use two web apps and handle authentication between those two:
WebApp#1: API to access your sheet
WebApp#2: User facing app
google.script.run
)> Server POSTs request along with necessary authorization headers using UrlFetchApp
> receives and parses the sheet data and provides it to client.Notes:
Implement Google signin in your webapp.
References: