mirror of
https://github.com/apache/superset.git
synced 2026-04-09 19:35:21 +00:00
feat: improve GSheets OAuth2 (#32048)
This commit is contained in:
@@ -3447,6 +3447,22 @@ class TestDatabaseApi(SupersetTestCase):
|
||||
"parameters": {
|
||||
"properties": {
|
||||
"catalog": {"type": "object"},
|
||||
"oauth2_client_info": {
|
||||
"default": {
|
||||
"authorization_request_uri": "https://accounts.google.com/o/oauth2/v2/auth",
|
||||
"scope": (
|
||||
"https://www.googleapis.com/auth/"
|
||||
"drive.readonly "
|
||||
"https://www.googleapis.com/auth/spreadsheets "
|
||||
"https://spreadsheets.google.com/feeds"
|
||||
),
|
||||
"token_request_uri": "https://oauth2.googleapis.com/token",
|
||||
},
|
||||
"description": "OAuth2 client information",
|
||||
"nullable": True,
|
||||
"type": "string",
|
||||
"x-encrypted-extra": True,
|
||||
},
|
||||
"service_account_info": {
|
||||
"description": "Contents of GSheets JSON credentials.",
|
||||
"type": "string",
|
||||
|
||||
Reference in New Issue
Block a user