Skip to content

Commit

Permalink
Add "team" to authorize_options
Browse files Browse the repository at this point in the history
  • Loading branch information
kmrshntr committed Dec 24, 2014
1 parent b2c78e1 commit ed715d6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion lib/omniauth-slack/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module Omniauth
module Slack
VERSION = "1.0.0"
VERSION = "1.0.1"
end
end
2 changes: 2 additions & 0 deletions lib/omniauth/strategies/slack.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ class Slack < OmniAuth::Strategies::OAuth2

option :name, "slack"

option :authorize_options, [ :scope, :team ]

option :client_options, {
site: "https://slack.com",
token_url: "/api/oauth.access"
Expand Down

0 comments on commit ed715d6

Please sign in to comment.