ruby on rails - Omniauth Facebook doesnt return the extra data -
i tried show in google or here doesn't work show me basic info (name,id,photo)
here s code omniauth.rb:
provider :facebook, 'key', 'key', {:scope => 'email',:info_fields => 'email', :client_options => {:ssl => {:ca_file => rails.root.join("cacert.pem").to_s}}} and how call it:
auth = request.env["omniauth.auth"] session[:omniauth] = auth
Comments
Post a Comment