Class: OmniAuth::Strategies::Slack

Inherits:
OpenIDConnect
  • Object
show all
Defined in:
lib/omniauth/strategies/slack.rb

Instance Method Summary collapse

Constructor Details

#initialize(*args, &block) ⇒ Slack

Returns a new instance of Slack.



14
15
16
17
18
# File 'lib/omniauth/strategies/slack.rb', line 14

def initialize(*args, &block)
  super
  options.client_options.identifier = options.client_id
  options.client_options.secret = options.client_secret
end

Instance Method Details

#redirect_uriObject



20
21
22
# File 'lib/omniauth/strategies/slack.rb', line 20

def redirect_uri
  full_host + script_name + callback_path
end