これは、同様の質問に答える:
OmniAuthの設定を
Devise.omniauth_configs
戻りネストさstragetyオブジェクト内omniauths_configオブジェクトに格納されている:
{:facebook=>
#<Devise::OmniAuth::Config:0x007fa6db95aa68
....
は、シンボルを介してアクセス:
を
Devise.omniauth_configs[:facebook].strategy
{"setup"=>true,
"skip_info"=>false,
"client_id"=>nil,
"client_secret"=>nil,
"client_options"=>{"site"=>"https://graph.facebook.com", "authorize_url"=>"https://www.facebook.com/dialog/oauth", "token_url"=>"/oauth/access_token"},
"authorize_params"=>{},
"authorize_options"=>[:scope, :display, :auth_type],
"token_params"=>{"parse"=>:query},
"token_options"=>[],
"auth_token_params"=>{},
"provider_ignores_state"=>false,
"access_token_options"=>{"header_format"=>"OAuth %s", "param_name"=>"access_token"},
"scope"=>"email,public_profile,publish_actions",
"info_fields"=>"email, first_name, last_name",
"name"=>"facebook"}
「Devise.remember_for」を推奨 - http://stackoverflow.com/a/34621814/1536309 –