You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -136,11 +136,11 @@ Chat apps and Google Chat API requests](https://developers.devsite.corp.google.c
136
136
1. Click **Save and Continue**.
137
137
1. Review the app registration summary, then click **Back to Dashboard**.
138
138
139
-
#### 4.2 Authenticate as a app configuration
139
+
#### 4.2 Set up authentication as an app
140
140
141
141
This is available in [Developer Preview](/workspace/preview) only.
142
142
143
-
##### 4.2.1 setup service account and key
143
+
##### 4.2.1 Setup service account and key
144
144
145
145
1. In the Google Cloud console, go to **Menu* > **IAM & Admin** > **Service Accounts**
146
146
1. Click **Create service account**.
@@ -157,6 +157,10 @@ This is available in [Developer Preview](/workspace/preview) only.
157
157
1. Select **JSON**, then click **Create**.
158
158
1. Click **Close**.
159
159
160
+
**Warning**: This example uses an exported service account key for simplicity's sake. Exporting a private key is not recommended
161
+
in production because it shouldn't be stored in an insecure location, such as source control. To learn more about secure service account
162
+
implementations and best practices, see Choose when to use service accounts.
163
+
160
164
##### 4.2.2 Receive administrator approval
161
165
162
166
To use an authorization scope that begins with
@@ -192,12 +196,6 @@ After that, the Chap app should be configured in **Goolge Workspace Marketplace
192
196
1. Under **Developer information**, enter your **Developer name**, **Developer website URL**, and **Developer email**.
193
197
1. Click **Save draft**
194
198
1.[Set up authorization Chat app](https://support.google.com/a?p=chat-app-auth).
195
-
196
-
**Warning**: This example uses an exported service account key for simplicity's sake. Exporting a private key is not recommended
197
-
in production because it shouldn't be stored in an insecure location, such as source control. To learn more about secure service account
198
-
implementations and best practices, see Choose when to use service accounts.
199
-
200
-
201
199
### 5. Create an Apps Script project and connect it to the Google Cloud project
202
200
203
201
Before creating the Apps Script project, copy your Google Cloud project number.
@@ -293,6 +291,7 @@ The Chat app is ready to respond to messages.
293
291
294
292
Navigate to the **Web app URL** from the Apps Script deployment to test your app.
295
293
296
-
#### 8.1 app auth mode
297
-
If the checkbox is selected, the Chat app will use app authentication to create the space, add members and post the message to the space.
298
-
If the checkbox is not selected, the Chat app will use human credentials instead and all the actions will be done on behalf of the user.
294
+
#### 8.1. Select the authentication mode
295
+
296
+
If the checkbox 'Use app credentials' is selected, the Chat app will use app authentication to create the space, add members and post the message to the space.
297
+
If the checkbox is not selected, the Chat app will use user credentials instead and all the actions will be done on behalf of the user.
0 commit comments