Class: OmniAuth::Strategies::Fdc

Inherits:
OAuth2
  • Object
show all
Defined in:
lib/omniauth/strategies/fdc.rb

Constant Summary collapse

DEFAULT_SITE =
'https://auth.fulfillment.com'

Instance Method Summary collapse

Instance Method Details

#callback_urlObject

OmniAuth::Strategy#callback_url appends the callback request's own query string, which would send those params to Fulfillment.com as part of redirect_uri and break the exchange. Note that omniauth 2's callback_path already carries SCRIPT_NAME, so mount prefixes must not be added again.



23
24
25
# File 'lib/omniauth/strategies/fdc.rb', line 23

def callback_url
  options[:callback_url] || (full_host + callback_path)
end