Module: OmniAuth::Passthrough::CapybaraHelper
- Defined in:
- lib/omniauth/passthrough/capybara_helper.rb
Instance Method Summary collapse
Instance Method Details
#omniauth_passthrough(params = {}) ⇒ Object
6 7 8 9 10 |
# File 'lib/omniauth/passthrough/capybara_helper.rb', line 6 def omniauth_passthrough(params = {}) original_url = current_url visit "/auth/passthrough/callback?#{Rack::Utils.build_nested_query(params)}" visit original_url end |