From 87a3d7063f904fc8971591d0a9c4027b311c0c27 Mon Sep 17 00:00:00 2001 From: Sebastien Saunier Date: Tue, 23 Dec 2014 19:13:02 +0100 Subject: [PATCH] Support team option --- lib/omniauth/strategies/slack.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/omniauth/strategies/slack.rb b/lib/omniauth/strategies/slack.rb index 596603c..0224914 100644 --- a/lib/omniauth/strategies/slack.rb +++ b/lib/omniauth/strategies/slack.rb @@ -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"