# File lib/omniauth/strategies/salesforce.rb, line 6 def initialize(app, consumer_key = nil, consumer_secret = nil, options = {}, &block) client_options = { :site => 'https://login.salesforce.com', :authorize_path => '/services/oauth2/authorize', :access_token_path => '/services/oauth2/token' } options.merge!(:response_type => 'code', :grant_type => 'authorization_code') super(app, :salesforce, consumer_key, consumer_secret, client_options, options, &block) end