gmail: add OAuth deliver block to manifest + index

connector.json: auth.deliver declares {as, format, path} so Skald
can write the Google authorized_user JSON without hardcoding paths.

connectors.json: gmail entry gains auth {type, provider, scopes}
for UI badge rendering without downloading the full manifest.

No changes to email, ssh, or tavily connectors.
This commit is contained in:
2026-07-17 20:47:25 +01:00
parent 48751ba91f
commit e9192d0439
2 changed files with 14 additions and 1 deletions
+8
View File
@@ -19,6 +19,14 @@
"local", "local",
"google" "google"
], ],
"auth": {
"type": "oauth2",
"provider": "google",
"scopes": [
"https://www.googleapis.com/auth/gmail.modify",
"https://www.googleapis.com/auth/gmail.labels"
]
},
"folder": "gmail", "folder": "gmail",
"files": [ "files": [
{ {
+6 -1
View File
@@ -52,6 +52,11 @@
"scopes": [ "scopes": [
"https://www.googleapis.com/auth/gmail.modify", "https://www.googleapis.com/auth/gmail.modify",
"https://www.googleapis.com/auth/gmail.labels" "https://www.googleapis.com/auth/gmail.labels"
] ],
"deliver": {
"as": "file",
"format": "google_authorized_user",
"path": "{secrets}/gmail_creds.json"
}
} }
} }