Skip to content

Commit

Permalink
Merge pull request #174 from sorribas/patch-1
Browse files Browse the repository at this point in the history
Make identity available to the user of the OAuth endpoint.
  • Loading branch information
Ben Brown committed May 23, 2016
2 parents 74a5a16 + 3d700f0 commit b93e51e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/SlackBot.js
Original file line number Diff line number Diff line change
Expand Up @@ -308,6 +308,7 @@ function Slackbot(configuration) {
slack_botkit.trigger('oauth_error', [err]);

} else {
req.identity = identity;

// we need to deal with any team-level provisioning info
// like incoming webhooks and bot users
Expand Down

0 comments on commit b93e51e

Please sign in to comment.