Class: OmniAuth::Strategies::Fdc
- Inherits:
-
OAuth2
- Object
- OAuth2
- OmniAuth::Strategies::Fdc
- Defined in:
- lib/omniauth/strategies/fdc.rb
Constant Summary collapse
- DEFAULT_SITE =
'https://auth.fulfillment.com'
Instance Method Summary collapse
-
#callback_url ⇒ Object
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.
Instance Method Details
#callback_url ⇒ Object
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 [:callback_url] || (full_host + callback_path) end |