Skip to content

Commit 230625c

Browse files
Update es-connectors-gmail.md (elastic#135591) (elastic#136006)
In addition to the directory user read-only scope, ES needs the Group Directory read only as well as the gmail readonly. Co-authored-by: Guy Noir <[email protected]>
1 parent 1798c77 commit 230625c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/reference/search-connectors/es-connectors-gmail.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,8 @@ To get started, log into [Google Cloud Platform](https://cloud.google.com) and g
132132
You need to grant the following **OAuth Scopes** to your service account:
133133

134134
* `https://www.googleapis.com/auth/admin.directory.user.readonly`
135+
* `https://www.googleapis.com/auth/admin.directory.group.readonly`
136+
* `https://www.googleapis.com/auth/gmail.readonly`
135137

136138
This step allows the connector to access user data and their group memberships in your Google Workspace organization.
137139

@@ -296,4 +298,4 @@ See [Security](/reference/search-connectors/es-connectors-security.md).
296298

297299
This connector is built in Python with the [Elastic connector framework](https://github.com/elastic/connectors/tree/main).
298300

299-
View the [source code for this connector](https://github.com/elastic/connectors/tree/main/connectors/sources/gmail.py) (branch *main*, compatible with Elastic *9.0*).
301+
View the [source code for this connector](https://github.com/elastic/connectors/tree/main/connectors/sources/gmail.py) (branch *main*, compatible with Elastic *9.0*).

0 commit comments

Comments
 (0)