The omniauth-facebook README mentions how to set it up in an initializer and how to set options like scope per request only. I wonder if it is possible to set a
scope
If you are using devise you can do this
config.omniauth :facebook, :setup => lambda{ current_app_secret = // Get current domain current_app_key = // Get config env['omniauth.strategy'].options[:client_id] = current_app_secret env['omniauth.strategy'].options[:client_secret] = current_app_key }