My question is related to this one about authentication scopes with Google Sheets API.
I'm creating a container-bound Script for Google Sheets which makes use of the Google Sheets API service (as recommended here). The problem is that the Google Sheets API requires the appsscript.jsson file to include:
"oauthScopes": ["https://www.googleapis.com/auth/spreadsheets"]
But this means that the Script has access to all of the user's files, whereas it would be much better if I had only:
"oauthScopes": ["https://www.googleapis.com/auth/spreadsheets.currentonly"]
The less authorization the user has to grant, the better. Is there any way to use Google Sheets API without granting such broad authorization?