Just in case anyone need it, it's caused by cookie overflow and Heroku will return R10 (boot time out) on its log. To fix this, just change the session store from cookie to database on config/initializers/session_store.rb.
For an example:
# Be sure to restart your server when you modify this file. #kevinhq::Application.config.session_store :cookie_store, :key => '_kevinhq_session' # Use the database for sessions instead of the cookie-based default, # which shouldn't be used to store highly confidential information # (create the session table with "rails generate session_migration") kevinhq::Application.config.session_store :active_record_store
Push the changes to Heroku and try the Facebook connect. It should be working. Beside, saving session to database is better than on cookie, isn't it ?
Source of the story : http://www.kevinhq.c...to-connect.html