Skip to content
This repository was archived by the owner on Nov 15, 2024. It is now read-only.

Commit 153efa7

Browse files
committed
deployed eu slack app
1 parent a364e7b commit 153efa7

1 file changed

Lines changed: 27 additions & 27 deletions

File tree

api_server/docs/integrations/slack.md

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -24,31 +24,31 @@ Steps to create a Slack App for a non-production CodeStream environment.
2424
* Go to https://api.slack.com/apps, make sure you're logged in to your
2525
workspace with administrative privileges, and press **Create New App**. We
2626
recommend naming it **CodeStream \<environment\>**.
27-
* Select the **OAuth & Permissions** feature, make these settings and save
28-
them.
29-
* Add the following Redirect URL:
30-
- `https://<codestream-api-host>/no-auth/provider-token/slack`
31-
* Add the following Scopes and save them (Request reasons included
32-
here). _NOTE: the source of truth for the list of scopes is [here]().
33-
You should verify this list accordingly._
34-
- **channels:read** - We allow users to select a public channel to share
35-
to.
36-
- **chat:write** - Users can send a copy of their messages from
37-
CodeStream to slack.
38-
- **groups:read** - We allow users to select a private channel to share
39-
to.
40-
- **im:read** - We allow users to select a direct message to share to.
41-
- **mpim:read** - We allow users to select a group DM to share to.
42-
- **users.profile:write** - We can update your slack status to reflect
43-
your current work.
44-
- **users:read** - We show the list of users.
45-
- **users:read.email** - We try to correlate CodeStream accounts with
46-
slack accounts via e-mail.
47-
* Select the **Interactivity & Shortcuts** section, make these settings
48-
and save them.
49-
* Turn on Interactivity (the switch on the upper right)
50-
* Add the following Request URL:
51-
- `https://<codestream-api-host>/no-auth/provider-action/slack`
27+
* Select the **OAuth & Permissions** feature, make these settings and save
28+
them.
29+
* Add the following Redirect URL:
30+
- `https://<codestream-api-host>/no-auth/provider-token/slack`
31+
* Add the following **User Token Scopes** and save them (Request reasons included
32+
here). _NOTE: the source of truth for the list of scopes is [here](../../modules/slack_auth/slack_auth.js).
33+
You should verify this list accordingly._
34+
- **channels:read** - We allow users to select a public channel to share
35+
to.
36+
- **chat:write** - Users can send a copy of their messages from
37+
CodeStream to slack.
38+
- **groups:read** - We allow users to select a private channel to share
39+
to.
40+
- **im:read** - We allow users to select a direct message to share to.
41+
- **mpim:read** - We allow users to select a group DM to share to.
42+
- **users.profile:write** - We can update your slack status to reflect
43+
your current work.
44+
- **users:read** - We show the list of users.
45+
- **users:read.email** - We try to correlate CodeStream accounts with
46+
slack accounts via e-mail.
47+
* Select the **Interactivity & Shortcuts** section, make these settings
48+
and save them.
49+
* Turn on Interactivity (the switch on the upper right)
50+
* Add the following Request URL:
51+
- `https://<codestream-api-host>/no-auth/provider-action/slack`
5252

5353
## Add and/or Distribute Slack App
5454

@@ -71,7 +71,7 @@ them to the CodeStream configuration file.
7171

7272
```
7373
{
74-
"integrations": {
74+
"integrations": {
7575
"slack": {
7676
"cloud": {
7777
"appClientId": null,
@@ -90,7 +90,7 @@ them to the CodeStream configuration file.
9090
"interactiveComponentsEnabled": true
9191
}
9292
}
93-
}
93+
}
9494
}
9595
```
9696

0 commit comments

Comments
 (0)