From bc650b0ade1d378f815ee01da480a63ddd4501f1 Mon Sep 17 00:00:00 2001 From: Ruben Fiszel Date: Mon, 25 Jul 2022 13:26:19 +0200 Subject: [PATCH] fix(oauth2): add google clients --- backend/oauth_connect.json | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/backend/oauth_connect.json b/backend/oauth_connect.json index b34f015a2b..374e5d4ba0 100644 --- a/backend/oauth_connect.json +++ b/backend/oauth_connect.json @@ -27,5 +27,40 @@ "scopes": [ "chat:write:user" ] + }, + "gsheets": { + "auth_url": "https://accounts.google.com/o/oauth2/v2/auth", + "token_url": "https://oauth2.googleapis.com/token", + "scopes": [ + "https://www.googleapis.com/auth/spreadsheets" + ] + }, + "gdrive": { + "auth_url": "https://accounts.google.com/o/oauth2/v2/auth", + "token_url": "https://oauth2.googleapis.com/token", + "scopes": [ + "https://www.googleapis.com/auth/drive" + ] + }, + "gmail": { + "auth_url": "https://accounts.google.com/o/oauth2/v2/auth", + "token_url": "https://oauth2.googleapis.com/token", + "scopes": [ + "https://mail.google.com/" + ] + }, + "gcal": { + "auth_url": "https://accounts.google.com/o/oauth2/v2/auth", + "token_url": "https://oauth2.googleapis.com/token", + "scopes": [ + "https://www.googleapis.com/auth/calendar.events" + ] + }, + "gcloud": { + "auth_url": "https://accounts.google.com/o/oauth2/v2/auth", + "token_url": "https://oauth2.googleapis.com/token", + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform" + ] } }