Class: OmniAuth::Strategies::Passthrough

Inherits:
Object
  • Object
show all
Includes:
OmniAuth::Strategy
Defined in:
lib/omniauth/strategies/passthrough.rb,
lib/omniauth/strategies/passthrough/version.rb

Overview

:include: README.rdoc

Constant Summary collapse

VERSION =
'1.0.1'

Instance Method Summary collapse

Instance Method Details

#request_phaseObject



12
13
14
# File 'lib/omniauth/strategies/passthrough.rb', line 12

def request_phase
  redirect(URI.parse(callback_url).tap { |uri| uri.query = Rack::Utils.build_nested_query(request.params) }.to_s)
end