From 81c413589b3a785b8bc3216c59cfa925be645fff Mon Sep 17 00:00:00 2001 From: Amir Hormati Date: Tue, 29 Sep 2020 11:59:29 -0700 Subject: [PATCH] Adding drive scope to be able to query sheets-based tables. --- src/environments/environment.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/environments/environment.ts b/src/environments/environment.ts index ccde67b..f83d8fe 100644 --- a/src/environments/environment.ts +++ b/src/environments/environment.ts @@ -17,7 +17,8 @@ export const environment = { production: false, authClientID: '419125973937-kl2cru5pu2vfugne7lr1hosgseh4lo1s.apps.googleusercontent.com', - authScope: 'https://www.googleapis.com/auth/bigquery' + // Based on BigQuery documentation "drive" scope is required for accssing sheets-based tables. + authScope: 'https://www.googleapis.com/auth/bigquery https://www.googleapis.com/auth/drive' }; // Your web app's Firebase configuration