Skip to content

Commit

Permalink
chore(slack): update scopes
Browse files Browse the repository at this point in the history
  • Loading branch information
jvallesm committed Oct 4, 2024
1 parent 9ef67d3 commit 43eeebb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion integration-test/pipeline/rest-integration.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export function CheckIntegrations() {
var oAuthConfig = {
authUrl: "https://slack.com/oauth/v2/authorize",
accessUrl: "https://slack.com/api/oauth.v2.access",
scopes: ["channels:history", "groups:history", "chat:write"],
scopes: ["channels:history", "groups:history", "chat:write", "users:read", "users:read.email", "users.profile:read"],
};

// Basic view
Expand Down
5 changes: 4 additions & 1 deletion pkg/component/application/slack/v0/config/setup.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,10 @@
"scopes": [
"channels:history",
"groups:history",
"chat:write"
"chat:write",
"users:read",
"users:read.email",
"users.profile:read"
]
},
"title": "Slack Connection",
Expand Down

0 comments on commit 43eeebb

Please sign in to comment.