Skip to content

Commit 406fa16

Browse files
authoredJun 7, 2020
fix: request Slack identity scopes
It appears that identity scopes are no implicit and must be explicitly requested.
1 parent 746c551 commit 406fa16

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎src/server/auth-passport.js

+1
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,7 @@ function setupSlackPassport() {
167167
app.get(
168168
"/login",
169169
passport.authenticate("slack", {
170+
scope: SLACK_SCOPES.split(","),
170171
team: SLACK_TEAM_ID
171172
})
172173
);

0 commit comments

Comments
 (0)
Please sign in to comment.