diff --git a/web/src/app/admin/connectors/[connector]/pages/gdrive/Credential.tsx b/web/src/app/admin/connectors/[connector]/pages/gdrive/Credential.tsx index 40e2da9cb..d139d9e24 100644 --- a/web/src/app/admin/connectors/[connector]/pages/gdrive/Credential.tsx +++ b/web/src/app/admin/connectors/[connector]/pages/gdrive/Credential.tsx @@ -493,10 +493,11 @@ export const DriveAuthSection = ({ label="Primary Admin Email:" subtext="Enter the email of an admin/owner of the Google Organization that owns the Google Drive(s) you want to index." /> + ss
- {localServiceAccountData.service_account_email} -
-+ {localServiceAccountData.service_account_email} +
+ If you want to update these credentials, delete the existing + credentials below, then upload new credentials. +
+ - > - ) : ( - <> -+ To change these credentials, please contact an administrator. +
+ )} +{localAppCredentialData.client_id}
-+ {localAppCredentialData.client_id} +
+ If you want to update these credentials, delete the existing + credentials below, then upload new credentials. +
+ ++ To change these credentials, please contact an administrator. +
+ )} +- Curators are unable to set up the Gmail credentials. To add a Gmail - connector, please contact an administrator. -
++ Curators are unable to set up the Gmail credentials. To add a Gmail + connector, please contact an administrator. +
+
- Follow the guide{" "}
-
- here
- {" "}
- to either (1) setup a Google OAuth App in your company workspace or (2)
- create a Service Account.
-
-
- Download the credentials JSON if choosing option (1) or the Service
- Account key JSON if choosing option (2), and upload it here.
-
+ Follow these steps to connect your Gmail: +
+- Uploaded and authenticated credential already exists! -
- - > ++ Your Gmail credentials have been uploaded and authenticated + successfully. +
++ Enter the email of an admin/owner of the Google Organization that + owns the Gmail account(s) you want to index. +
+- Next, you must provide credentials via OAuth. This gives us read - access to the emails you have access to in your Gmail account. -
-