You have to use the :params
options, as in
omniauth_authorize_path(:user, :facebook, var: 'value', var2: 'value2' )
and later in the callback you can access request.env['omniauth.params']
to get the hash! 🙂
More Related Contents:
- How can I rename a database column in a Ruby on Rails migration?
- How to get a random number in Ruby
- Why do routes with a dot in a parameter fail to match?
- Repairing Postgresql after upgrading to OSX 10.7 Lion
- PG::Error: SELECT DISTINCT, ORDER BY expressions must appear in select list
- When to use a “has_many :through” relation in Rails?
- rake db:schema:load vs. migrations
- ActiveRecord Find By Year, Day or Month on a Date field
- How to fix the uninitialized constant Rake::DSL problem on Heroku?
- Rails 3: Multiple Select with has_many through associations
- Rails 3 SQLite3 Boolean false
- What is the replacement for ActionController::Base.relative_url_root?
- How to match accented characters with a regex?
- Delete link sends “Get” instead of “Delete” in Rails 3 view
- f.error_messages in Rails 3.0
- Rails Routes based on condition
- Rails 3.1 and Image Assets
- Convert UTC to local time in Rails 3
- Scope with join on :has_many :through association
- Counter Cache for a column with conditions?
- Rails form_for :remote=>true is not calling js method
- Remote mysql database on Heroku app
- How to implement bulk insert in Rails 3
- How to use the I18n fallback features in Rails 3
- Sass import error in Rails 3 app – “File to import not found or unreadable: compass”
- How to integrate a Wrap Bootstrap theme into an Rails application?
- Rails 2 to Rails 3 : using link_to instead of link_to_remote (including remote and update)
- Is the server running on host “localhost” (::1) and accepting TCP/IP connections on port 5432?
- Ruby 1.9.2 and Rails 3 cannot open rails console
- Rails 3 SSL routing redirects from https to http