Commit 2efa15a
authored
PLU-620: reduce Slack scopes (#1353)
## Problem
Slack integration requests for a lot of scopes when adding the app to a
workplace.
## Solution
Use the least permissive access required.
## Other changes
Renamed auth fields to `Client ID` and `Client Secret` to match the
names on Slack.
## Tests
- [ ] Can still add app to Plumber
- [ ] Can send message to public channel as user
- [ ] Can send message to public channel as bot
- [ ] Can set bot name
- [ ] Can set bot icon
- [ ] Can send message to private channel as user
- [ ] Can search for messages
## Before & After Screenshots
<img width="601" height="430" alt="Screenshot 2025-12-02 at 10 56 35 AM"
src="https://github.com/user-attachments/assets/a525fe87-0540-42f8-a303-70dbce672f9c"
/>
<img width="598" height="414" alt="Screenshot 2025-12-02 at 10 56 41 AM"
src="https://github.com/user-attachments/assets/427c7e9a-dd7b-4601-8ef0-b2548d2299da"
/>
<img width="593" height="409" alt="Screenshot 2025-12-02 at 10 56 47 AM"
src="https://github.com/user-attachments/assets/22412234-5e7f-4947-8597-a1360ab59c35"
/>
<img width="615" height="687" alt="Screenshot 2025-12-02 at 11 06 48 AM"
src="https://github.com/user-attachments/assets/9624a71e-8b70-4e05-954d-41ddc79c73dd"
/>1 parent 5f25880 commit 2efa15a
File tree
2 files changed
+4
-42
lines changed- packages/backend/src/apps/slack/auth
2 files changed
+4
-42
lines changedLines changed: 2 additions & 40 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
| 9 | + | |
| 10 | + | |
49 | 11 | | |
50 | 12 | | |
51 | 13 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| |||
0 commit comments