class OmniAuth::Strategies::SageOne

Public Instance Methods

callback_url() click to toggle source

Override this method to remove the query string from the callback_url because SageOne requires an exact match

Calls superclass method
# File lib/omniauth/strategies/sage_one.rb, line 34
def callback_url
  super.split('?').first
end

Protected Instance Methods

country() click to toggle source
# File lib/omniauth/strategies/sage_one.rb, line 40
def country
  request.env ? request[:country].try(:downcase) : options.client_options[:country]
end